EnableVpnGatewayOptions

class aws_cdk.aws_ec2.EnableVpnGatewayOptions(*, type, amazon_side_asn=None, vpn_route_propagation=None)

Bases: aws_cdk.aws_ec2.VpnGatewayProps

Options for the Vpc.enableVpnGateway() method.

Parameters
  • type (str) – Default type ipsec.1.

  • amazon_side_asn (Union[int, float, None]) – Explicitly specify an Asn or let aws pick an Asn for you. Default: 65000

  • vpn_route_propagation (Optional[List[SubnetSelection]]) – Provide an array of subnets where the route propagation should be added. Default: noPropagation

Attributes

amazon_side_asn

Explicitly specify an Asn or let aws pick an Asn for you.

Default

65000

Return type

Union[int, float, None]

type

Default type ipsec.1.

Return type

str

vpn_route_propagation

Provide an array of subnets where the route propagation should be added.

Default

noPropagation

Return type

Optional[List[SubnetSelection]]