Class NatGatewayProps
Properties for a NAT gateway.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class NatGatewayProps : INatGatewayProps
Syntax (vb)
Public Class NatGatewayProps Implements INatGatewayProps
Remarks
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 natGatewayProps = new NatGatewayProps {
EipAllocationIds = new [] { "eipAllocationIds" }
};
Synopsis
Constructors
| NatGatewayProps() | Properties for a NAT gateway. |
Properties
| EipAllocationIds | EIP allocation IDs for the NAT gateways. |
Constructors
NatGatewayProps()
Properties for a NAT gateway.
public NatGatewayProps()
Remarks
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 natGatewayProps = new NatGatewayProps {
EipAllocationIds = new [] { "eipAllocationIds" }
};
Properties
EipAllocationIds
EIP allocation IDs for the NAT gateways.
public string[]? EipAllocationIds { get; set; }
Property Value
string[]
Remarks
Default: - No fixed EIPs allocated for the NAT gateways