AWS::EC2::CustomerGatewaySpecifies a customer gateway.
import { CfnCustomerGateway } from 'aws-cdk-lib/aws-ec2';Or use the module namespace:
import * as ec2 from 'aws-cdk-lib/aws-ec2';
// ec2.CfnCustomerGatewayConfiguration passed to the constructor as CfnCustomerGatewayProps.
ipAddressRequiredstringThe 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.
typeRequiredstringThe type of VPN connection that this customer gateway supports ( `ipsec.1` ).
bgpAsnOptionalnumberFor 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
bgpAsnExtendedOptionalnumberFor 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`
certificateArnOptionalstringThe Amazon Resource Name (ARN) for the customer gateway certificate.
deviceNameOptionalstringThe name of customer gateway device.
tagsOptionalCfnTag[]One or more tags for the customer gateway.
This L1 construct maps directly to the following CloudFormation resource type.
Everything you need to know about Amazon EC2 on one page. HD quality, print-friendly.
Download Free Infographicaws-ec2AWS::EC2::CustomerGateway