Menu
Amazon Elastic Compute Cloud
API Reference (API Version 2016-11-15)

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 AWS SDKs, see the following:

On this page: