Interface ICfnCustomerGatewayProps
Properties for defining a CfnCustomerGateway
.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public interface ICfnCustomerGatewayProps
Syntax (vb)
Public Interface 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
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 ( |
Properties
BgpAsn
For devices that support BGP, the customer gateway's BGP ASN.
double BgpAsn { get; }
Property Value
System.Double
Remarks
DeviceName
The name of customer gateway device.
virtual string DeviceName { get; }
Property Value
System.String
Remarks
IpAddress
IPv4 address for the customer gateway device's outside interface.
string IpAddress { get; }
Property Value
System.String
Remarks
The address must be static.
Tags
One or more tags for the customer gateway.
virtual ICfnTag[] Tags { get; }
Property Value
ICfnTag[]
Remarks
Type
The type of VPN connection that this customer gateway supports ( ipsec.1
).
string Type { get; }
Property Value
System.String