aws-cdk-lib.aws_ec2.CfnCustomerGatewayProps

interface CfnCustomerGatewayProps

LanguageType name
.NETAmazon.CDK.AWS.EC2.CfnCustomerGatewayProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnCustomerGatewayProps
Javasoftware.amazon.awscdk.services.ec2.CfnCustomerGatewayProps
Pythonaws_cdk.aws_ec2.CfnCustomerGatewayProps
TypeScript aws-cdk-lib » aws_ec2 » CfnCustomerGatewayProps

Properties for defining a CfnCustomerGateway.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const cfnCustomerGatewayProps: ec2.CfnCustomerGatewayProps = {
  bgpAsn: 123,
  ipAddress: 'ipAddress',
  type: 'type',

  // the properties below are optional
  deviceName: 'deviceName',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties

NameTypeDescription
bgpAsnnumberFor devices that support BGP, the customer gateway's BGP ASN.
ipAddressstringIPv4 address for the customer gateway device's outside interface.
typestringThe type of VPN connection that this customer gateway supports ( ipsec.1 ).
deviceName?stringThe name of customer gateway device.
tags?CfnTag[]One or more tags for the customer gateway.

bgpAsn

Type: number

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

Default: 65000


ipAddress

Type: string

IPv4 address for the customer gateway device's outside interface.

The address must be static.


type

Type: string

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


deviceName?

Type: string (optional)

The name of customer gateway device.


tags?

Type: CfnTag[] (optional)

One or more tags for the customer gateway.