Show / Hide Table of Contents

Interface ICfnNatGatewayProps

Properties for defining a CfnNatGateway.

Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public interface ICfnNatGatewayProps
Syntax (vb)
Public Interface ICfnNatGatewayProps
Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-natgateway.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;

CfnNatGatewayProps cfnNatGatewayProps = new CfnNatGatewayProps {
    SubnetId = "subnetId",

    // the properties below are optional
    AllocationId = "allocationId",
    ConnectivityType = "connectivityType",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};

Synopsis

Properties

AllocationId

[Public NAT gateway only] The allocation ID of the Elastic IP address that's associated with the NAT gateway.

ConnectivityType

Indicates whether the NAT gateway supports public or private connectivity.

SubnetId

The ID of the subnet in which the NAT gateway is located.

Tags

The tags for the NAT gateway.

Properties

AllocationId

[Public NAT gateway only] The allocation ID of the Elastic IP address that's associated with the NAT gateway.

virtual string AllocationId { get; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-natgateway.html#cfn-ec2-natgateway-allocationid

ConnectivityType

Indicates whether the NAT gateway supports public or private connectivity.

virtual string ConnectivityType { get; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-natgateway.html#cfn-ec2-natgateway-connectivitytype

SubnetId

The ID of the subnet in which the NAT gateway is located.

string SubnetId { get; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-natgateway.html#cfn-ec2-natgateway-subnetid

Tags

The tags for the NAT gateway.

virtual ICfnTag[] Tags { get; }
Property Value

ICfnTag[]

Remarks

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

Back to top Generated by DocFX