Skip to content

InternetGatewayAttachment

Source code in docs_src/capo_ec2/types/internet_gateway_attachment.py
class InternetGatewayAttachment(TypedDict, closed=True):
    state: NotRequired["capo_ec2.types.attachment_status.AttachmentStatus"]
    """<p>The current state of the attachment. For an internet gateway, the state is <code>available</code> when attached to a VPC; otherwise, this value is not returned.</p>"""
    vpc_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the VPC.</p>"""

state instance-attribute

state: NotRequired[AttachmentStatus]

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 instance-attribute

vpc_id: NotRequired[String]

The ID of the VPC.