InternetGatewayAttachment - Amazon Elastic Compute Cloud
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

InternetGatewayAttachment

Describes the attachment of a VPC to an internet gateway or an egress-only internet gateway.

Contents

state

The current state of the attachment. For an internet gateway, the state is available when attached to a VPC; otherwise, this value is not returned.

Type: String

Valid Values: attaching | attached | detaching | detached

Required: No

vpcId

The ID of the VPC.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: