Class CfnCustomerGatewayProps
Properties for defining a CfnCustomerGateway
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public class CfnCustomerGatewayProps : Object, ICfnCustomerGatewayProps
Syntax (vb)
Public Class CfnCustomerGatewayProps
Inherits Object
Implements ICfnCustomerGatewayProps
Remarks
Link: 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 {
BgpAsn = 123,
IpAddress = "ipAddress",
Type = "type",
// the properties below are optional
DeviceName = "deviceName",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnCustomerGatewayProps() |
Properties
BgpAsn | For devices that support BGP, the customer gateway's BGP ASN. |
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 devices that support BGP, the customer gateway's BGP ASN.
public double BgpAsn { get; set; }
Property Value
System.Double
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.
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