Skip to content

EC2  >  Structures  >  InternetGatewayAttachment

InternetGatewayAttachment

Structure Class

InternetGatewayAttachment dataclass

Bases: _SerdeShape

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

Attributes

state class-attribute instance-attribute
state: str | None = ...

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.

vpc_id class-attribute instance-attribute
vpc_id: str | None = ...

The ID of the VPC.