CfnCustomerGatewayMixinProps

class aws_cdk.mixins_preview.aws_ec2.mixins.CfnCustomerGatewayMixinProps(*, bgp_asn=None, bgp_asn_extended=None, certificate_arn=None, device_name=None, ip_address=None, tags=None, type=None)

Bases: object

Properties for CfnCustomerGatewayPropsMixin.

Parameters:
  • bgp_asn (Union[int, float, None]) – For customer gateway devices that support BGP, specify the device’s ASN. You must specify either BgpAsn or BgpAsnExtended when creating the customer gateway. If the ASN is larger than 2,147,483,647 , you must use BgpAsnExtended . Default: 65000 Valid values: 1 to 2,147,483,647 Default: - 65000

  • bgp_asn_extended (Union[int, float, None]) – For customer gateway devices that support BGP, specify the device’s ASN. You must specify either BgpAsn or BgpAsnExtended when creating the customer gateway. If the ASN is larger than 2,147,483,647 , you must use BgpAsnExtended . Valid values: 2,147,483,648 to 4,294,967,295

  • certificate_arn (Optional[str]) – The Amazon Resource Name (ARN) for the customer gateway certificate.

  • device_name (Optional[str]) – The name of customer gateway device.

  • ip_address (Optional[str]) – The IP address for the customer gateway device’s outside interface. The address must be static. If OutsideIpAddressType in your VPN connection options is set to PrivateIpv4 , you can use an RFC6598 or RFC1918 private IPv4 address. If OutsideIpAddressType is set to Ipv6 , you can use an IPv6 address.

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

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

See:

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.mixins_preview.aws_ec2 import mixins as ec2_mixins

cfn_customer_gateway_mixin_props = ec2_mixins.CfnCustomerGatewayMixinProps(
    bgp_asn=123,
    bgp_asn_extended=123,
    certificate_arn="certificateArn",
    device_name="deviceName",
    ip_address="ipAddress",
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    type="type"
)

Attributes

bgp_asn

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

You must specify either BgpAsn or BgpAsnExtended when creating the customer gateway. If the ASN is larger than 2,147,483,647 , you must use BgpAsnExtended .

Default: 65000

Valid values: 1 to 2,147,483,647

Default:
  • 65000

See:

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

bgp_asn_extended

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

You must specify either BgpAsn or BgpAsnExtended when creating the customer gateway. If the ASN is larger than 2,147,483,647 , you must use BgpAsnExtended .

Valid values: 2,147,483,648 to 4,294,967,295

See:

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

certificate_arn

The Amazon Resource Name (ARN) for the customer gateway certificate.

See:

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

device_name

The name of customer gateway device.

See:

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

ip_address

The IP address for the customer gateway device’s outside interface.

The address must be static. If OutsideIpAddressType in your VPN connection options is set to PrivateIpv4 , you can use an RFC6598 or RFC1918 private IPv4 address. If OutsideIpAddressType is set to Ipv6 , you can use an IPv6 address.

See:

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

tags

One or more tags for the customer gateway.

See:

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

type

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

See:

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