CfnVPNGatewayProps

class aws_cdk.aws_ec2.CfnVPNGatewayProps(*, type, amazon_side_asn=None, tags=None)

Bases: object

Properties for defining a CfnVPNGateway.

Parameters
  • type (str) – The type of VPN connection the virtual private gateway supports.

  • amazon_side_asn (Union[int, float, None]) – The private Autonomous System Number (ASN) for the Amazon side of a BGP session.

  • tags (Optional[Sequence[CfnTag]]) – Any tags assigned to the virtual private gateway.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpn-gateway.html

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_ec2 as ec2

cfn_vPNGateway_props = ec2.CfnVPNGatewayProps(
    type="type",

    # the properties below are optional
    amazon_side_asn=123,
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

amazon_side_asn

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

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpn-gateway.html#cfn-ec2-vpngateway-amazonsideasn

Return type

Union[int, float, None]

tags

Any tags assigned to the virtual private gateway.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpn-gateway.html#cfn-ec2-vpngateway-tags

Return type

Optional[List[CfnTag]]

type

The type of VPN connection the virtual private gateway supports.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpn-gateway.html#cfn-ec2-vpngateway-type

Return type

str