Show / Hide Table of Contents

Class CfnCustomerGatewayProps

Properties for defining a CfnCustomerGateway.

Inheritance
object
CfnCustomerGatewayProps
Implements
ICfnCustomerGatewayProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnCustomerGatewayProps : ICfnCustomerGatewayProps
Syntax (vb)
Public Class CfnCustomerGatewayProps 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 for defining a CfnCustomerGateway.

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

The IP 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 ( ipsec.1 ).

Constructors

CfnCustomerGatewayProps()

Properties for defining a CfnCustomerGateway.

public CfnCustomerGatewayProps()
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"
                 } }
             };

Properties

BgpAsn

For customer gateway devices that support BGP, specify the device's ASN.

public double? BgpAsn { get; set; }
Property Value

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-customergateway.html#cfn-ec2-customergateway-bgpasn

BgpAsnExtended

For customer gateway devices that support BGP, specify the device's ASN.

public double? BgpAsnExtended { get; set; }
Property Value

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-customergateway.html#cfn-ec2-customergateway-bgpasnextended

CertificateArn

The Amazon Resource Name (ARN) for the customer gateway certificate.

public string? CertificateArn { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-customergateway.html#cfn-ec2-customergateway-certificatearn

DeviceName

The name of customer gateway device.

public string? DeviceName { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-customergateway.html#cfn-ec2-customergateway-devicename

IpAddress

The IP address for the customer gateway device's outside interface.

public string IpAddress { get; set; }
Property Value

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 Ipv6 , you can use an IPv6 address.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-customergateway.html#cfn-ec2-customergateway-ipaddress

Tags

One or more tags for the customer gateway.

public ICfnTag[]? Tags { get; set; }
Property Value

ICfnTag[]

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-customergateway.html#cfn-ec2-customergateway-tags

Type

The type of VPN connection that this customer gateway supports ( ipsec.1 ).

public string Type { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-customergateway.html#cfn-ec2-customergateway-type

Implements

ICfnCustomerGatewayProps
Back to top Generated by DocFX