Show / Hide Table of Contents

Class ConfigureNatOptions

Options passed by the VPC when NAT needs to be configured.

Inheritance
object
ConfigureNatOptions
Implements
IConfigureNatOptions
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 ConfigureNatOptions : IConfigureNatOptions
Syntax (vb)
Public Class ConfigureNatOptions Implements IConfigureNatOptions
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;

            PrivateSubnet privateSubnet;
            PublicSubnet publicSubnet;
            Vpc vpc;

            var configureNatOptions = new ConfigureNatOptions {
                NatSubnets = new [] { publicSubnet },
                PrivateSubnets = new [] { privateSubnet },
                Vpc = vpc
            };

Synopsis

Constructors

ConfigureNatOptions()

Options passed by the VPC when NAT needs to be configured.

Properties

NatSubnets

The public subnets where the NAT providers need to be placed.

PrivateSubnets

The private subnets that need to route through the NAT providers.

Vpc

The VPC we're configuring NAT for.

Constructors

ConfigureNatOptions()

Options passed by the VPC when NAT needs to be configured.

public ConfigureNatOptions()
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;

            PrivateSubnet privateSubnet;
            PublicSubnet publicSubnet;
            Vpc vpc;

            var configureNatOptions = new ConfigureNatOptions {
                NatSubnets = new [] { publicSubnet },
                PrivateSubnets = new [] { privateSubnet },
                Vpc = vpc
            };

Properties

NatSubnets

The public subnets where the NAT providers need to be placed.

public PublicSubnet[] NatSubnets { get; set; }
Property Value

PublicSubnet[]

Remarks

ExampleMetadata: fixture=_generated

PrivateSubnets

The private subnets that need to route through the NAT providers.

public PrivateSubnet[] PrivateSubnets { get; set; }
Property Value

PrivateSubnet[]

Remarks

There may be more private subnets than public subnets with NAT providers.

Vpc

The VPC we're configuring NAT for.

public Vpc Vpc { get; set; }
Property Value

Vpc

Remarks

ExampleMetadata: fixture=_generated

Implements

IConfigureNatOptions
Back to top Generated by DocFX