Class CfnCustomerGatewayProps
Properties for defining a CfnCustomerGateway
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnCustomerGatewayProps : Object, ICfnCustomerGatewayProps
Syntax (vb)
Public Class CfnCustomerGatewayProps
Inherits Object
Implements ICfnCustomerGatewayProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-customergateway.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var cfnCustomerGatewayProps = new CfnCustomerGatewayProps {
IpAddress = "ipAddress",
Type = "type",
// the properties below are optional
BgpAsn = 123,
BgpAsnExtended = 123,
CertificateArn = "certificateArn",
DeviceName = "deviceName",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnCustomerGatewayProps() |
Properties
BgpAsn | For customer gateway devices that support BGP, specify the device's ASN. |
BgpAsnExtended | For customer gateway devices that support BGP, specify the device's ASN. |
CertificateArn | The Amazon Resource Name (ARN) for the customer gateway certificate. |
DeviceName | The name of customer gateway device. |
IpAddress | IPv4 address for the customer gateway device's outside interface. |
Tags | One or more tags for the customer gateway. |
Type | The type of VPN connection that this customer gateway supports ( |
Constructors
CfnCustomerGatewayProps()
public CfnCustomerGatewayProps()
Properties
BgpAsn
For customer gateway devices that support BGP, specify the device's ASN.
public Nullable<double> BgpAsn { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
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
BgpAsnExtended
For customer gateway devices that support BGP, specify the device's ASN.
public Nullable<double> BgpAsnExtended { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
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
The Amazon Resource Name (ARN) for the customer gateway certificate.
public string CertificateArn { get; set; }
Property Value
System.String
Remarks
DeviceName
The name of customer gateway device.
public string DeviceName { get; set; }
Property Value
System.String
Remarks
IpAddress
IPv4 address for the customer gateway device's outside interface.
public string IpAddress { get; set; }
Property Value
System.String
Remarks
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 PublicIpv4
, you can use a public IPv4 address.
Tags
One or more tags for the customer gateway.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
Remarks
Type
The type of VPN connection that this customer gateway supports ( ipsec.1
).
public string Type { get; set; }
Property Value
System.String