CfnCustomerGatewayProps

class aws_cdk.aws_ec2.CfnCustomerGatewayProps(*, bgp_asn, ip_address, type, tags=None)

Bases: object

Properties for defining a CfnCustomerGateway.

Parameters
  • bgp_asn (Union[int, float]) – For devices that support BGP, the customer gateway’s BGP ASN. Default: 65000

  • ip_address (str) – The Internet-routable IP address for the customer gateway’s outside interface. The address must be static.

  • type (str) – The type of VPN connection that this customer gateway supports ( ipsec.1 ).

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – One or more tags for the customer gateway.

Link

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

ExampleMetadata

fixture=_generated

Example:

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

cfn_customer_gateway_props = ec2.CfnCustomerGatewayProps(
    bgp_asn=123,
    ip_address="ipAddress",
    type="type",

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

Attributes

bgp_asn

For devices that support BGP, the customer gateway’s BGP ASN.

Default: 65000

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-customergateway.html#cfn-ec2-customergateway-bgpasn

Return type

Union[int, float]

ip_address

The Internet-routable IP address for the customer gateway’s outside interface.

The address must be static.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-customergateway.html#cfn-ec2-customergateway-ipaddress

Return type

str

tags

One or more tags for the customer gateway.

Link

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

Return type

Optional[List[CfnTag]]

type

The type of VPN connection that this customer gateway supports ( ipsec.1 ).

Link

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

Return type

str