Skip to content

VpnGateway

Source code in docs_src/capo_ec2/types/vpn_gateway.py
class VpnGateway(TypedDict, closed=True):
    amazon_side_asn: NotRequired["capo_ec2.types.long.Long"]
    """<p>The private Autonomous System Number (ASN) for the Amazon side of a BGP session.</p>"""
    tags: NotRequired["capo_ec2.types.tag_list.TagList"]
    """<p>Any tags assigned to the virtual private gateway.</p>"""
    vpn_gateway_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the virtual private gateway.</p>"""
    state: NotRequired["capo_ec2.types.vpn_state.VpnState"]
    """<p>The current state of the virtual private gateway.</p>"""
    type: NotRequired["capo_ec2.types.gateway_type.GatewayType"]
    """<p>The type of VPN connection the virtual private gateway supports.</p>"""
    availability_zone: NotRequired["capo_ec2.types.string.String"]
    """<p>The Availability Zone where the virtual private gateway was created, if applicable. This field may be empty or not returned.</p>"""
    vpc_attachments: NotRequired["capo_ec2.types.vpc_attachment_list.VpcAttachmentList"]
    """<p>Any VPCs attached to the virtual private gateway.</p>"""

amazon_side_asn instance-attribute

amazon_side_asn: NotRequired[Long]

The private Autonomous System Number (ASN) for the Amazon side of a BGP session.

availability_zone instance-attribute

availability_zone: NotRequired[String]

The Availability Zone where the virtual private gateway was created, if applicable. This field may be empty or not returned.

state instance-attribute

state: NotRequired[VpnState]

The current state of the virtual private gateway.

tags instance-attribute

tags: NotRequired[TagList]

Any tags assigned to the virtual private gateway.

type instance-attribute

type: NotRequired[GatewayType]

The type of VPN connection the virtual private gateway supports.

vpc_attachments instance-attribute

vpc_attachments: NotRequired[VpcAttachmentList]

Any VPCs attached to the virtual private gateway.

vpn_gateway_id instance-attribute

vpn_gateway_id: NotRequired[String]

The ID of the virtual private gateway.