interface CfnCustomerGatewayMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins.CfnCustomerGatewayMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/mixins#CfnCustomerGatewayMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnCustomerGatewayMixinProps |
Python | aws_cdk.mixins_preview.aws_ec2.mixins.CfnCustomerGatewayMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » mixins » CfnCustomerGatewayMixinProps |
Properties for CfnCustomerGatewayPropsMixin.
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 { mixins as ec2_mixins } from '@aws-cdk/mixins-preview/aws-ec2';
const cfnCustomerGatewayMixinProps: ec2_mixins.CfnCustomerGatewayMixinProps = {
bgpAsn: 123,
bgpAsnExtended: 123,
certificateArn: 'certificateArn',
deviceName: 'deviceName',
ipAddress: 'ipAddress',
tags: [{
key: 'key',
value: 'value',
}],
type: 'type',
};
Properties
| Name | Type | Description |
|---|---|---|
| bgp | number | For customer gateway devices that support BGP, specify the device's ASN. |
| bgp | number | For customer gateway devices that support BGP, specify the device's ASN. |
| certificate | string | The Amazon Resource Name (ARN) for the customer gateway certificate. |
| device | string | The name of customer gateway device. |
| ip | string | The IP address for the customer gateway device's outside interface. |
| tags? | Cfn[] | One or more tags for the customer gateway. |
| type? | string | The type of VPN connection that this customer gateway supports ( ipsec.1 ). |
bgpAsn?
Type:
number
(optional, default: 65000)
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
bgpAsnExtended?
Type:
number
(optional)
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
certificateArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) for the customer gateway certificate.
deviceName?
Type:
string
(optional)
The name of customer gateway device.
ipAddress?
Type:
string
(optional)
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?
Type:
Cfn[]
(optional)
One or more tags for the customer gateway.
type?
Type:
string
(optional)
The type of VPN connection that this customer gateway supports ( ipsec.1 ).

.NET
Go
Java
Python
TypeScript