Skip to content

EC2  >  Structures  >  VpnGateway

VpnGateway

Structure Class

VpnGateway dataclass

Bases: _SerdeShape

Describes a virtual private gateway.

Attributes

amazon_side_asn class-attribute instance-attribute
amazon_side_asn: int | None = ...

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

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

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

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

The current state of the virtual private gateway.

tags class-attribute instance-attribute
tags: list[Tag] | None = ...

Any tags assigned to the virtual private gateway.

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

The type of VPN connection the virtual private gateway supports.

vpc_attachments class-attribute instance-attribute
vpc_attachments: list[VpcAttachment] | None = ...

Any VPCs attached to the virtual private gateway.

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

The ID of the virtual private gateway.