InternetGateway
A resource of the AWS provider, version 0.3.0, in its Networking group. Import it with:
import InternetGateway from "aws/networking"Example
resource InternetGateway example {
vpcId = "example-value"
tags = "..."
}Properties
Set by your code in the resource block. A required one must be set; any other you leave out takes the value under Default, if it has one.
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
vpcId | string | — | No | The VPC ID to attach the internet gateway to |
tags | object | — | No | Tags to apply to the internet gateway |
Set by AWS after the resource is created: your code can read them but not set them. An importable one identifies an existing resource.
| Name | Type | Importable | Description |
|---|---|---|---|
internetGatewayId | string | No | The internet gateway ID assigned by AWS |
ownerId | string | No | The AWS account ID that owns the internet gateway |
attachmentState | string | No | Attachment state (available, attaching, detaching) |