interface ConfigureNatOptions
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.EC2.ConfigureNatOptions | 
|  Java | software.amazon.awscdk.services.ec2.ConfigureNatOptions | 
|  Python | aws_cdk.aws_ec2.ConfigureNatOptions | 
|  TypeScript (source) | @aws-cdk/aws-ec2»ConfigureNatOptions | 
Options passed by the VPC when NAT needs to be configured.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as ec2 from '@aws-cdk/aws-ec2';
declare const privateSubnet: ec2.PrivateSubnet;
declare const publicSubnet: ec2.PublicSubnet;
declare const vpc: ec2.Vpc;
const configureNatOptions: ec2.ConfigureNatOptions = {
  natSubnets: [publicSubnet],
  privateSubnets: [privateSubnet],
  vpc: vpc,
};
Properties
| Name | Type | Description | 
|---|---|---|
| nat | Public[] | The public subnets where the NAT providers need to be placed. | 
| private | Private[] | The private subnets that need to route through the NAT providers. | 
| vpc | Vpc | The VPC we're configuring NAT for. | 
natSubnets
Type:
Public[]
The public subnets where the NAT providers need to be placed.
privateSubnets
Type:
Private[]
The private subnets that need to route through the NAT providers.
There may be more private subnets than public subnets with NAT providers.
vpc
Type:
Vpc
The VPC we're configuring NAT for.
