interface CfnCustomerGatewayProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EC2.CfnCustomerGatewayProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnCustomerGatewayProps |
Java | software.amazon.awscdk.services.ec2.CfnCustomerGatewayProps |
Python | aws_cdk.aws_ec2.CfnCustomerGatewayProps |
TypeScript | aws-cdk-lib » aws_ec2 » CfnCustomerGatewayProps |
Properties for defining a CfnCustomerGateway
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-customergateway.html
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 = {
ipAddress: 'ipAddress',
type: 'type',
// the properties below are optional
bgpAsn: 123,
bgpAsnExtended: 123,
certificateArn: 'certificateArn',
deviceName: 'deviceName',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
ip | string | IPv4 address for the customer gateway device's outside interface. |
type | string | The type of VPN connection that this customer gateway supports ( ipsec.1 ). |
bgp | number | For devices that support BGP, the customer gateway's BGP ASN. |
bgp | number | |
certificate | string | The Amazon Resource Name (ARN) for the customer gateway certificate. |
device | string | The name of customer gateway device. |
tags? | Cfn [] | One or more tags for the customer gateway. |
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
).
bgpAsn?
Type:
number
(optional, default: 65000)
For devices that support BGP, the customer gateway's BGP ASN.
Default: 65000
bgpAsnExtended?
Type:
number
(optional)
certificateArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) for the customer gateway certificate.
deviceName?
Type:
string
(optional)
The name of customer gateway device.
tags?
Type:
Cfn
[]
(optional)
One or more tags for the customer gateway.