ConfigureNatOptions

class aws_cdk.aws_ec2.ConfigureNatOptions(*, nat_subnets, private_subnets, vpc)

Bases: object

__init__(*, nat_subnets, private_subnets, vpc)

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

Parameters
  • nat_subnets (List[PublicSubnet]) – The public subnets where the NAT providers need to be placed.

  • private_subnets (List[PrivateSubnet]) – The private subnets that need to route through the NAT providers. There may be more private subnets than public subnets with NAT providers.

  • vpc (Vpc) – The VPC we’re configuring NAT for.

stability :stability: experimental

Attributes

nat_subnets

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

stability :stability: experimental

Return type

List[PublicSubnet]

private_subnets

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

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

stability :stability: experimental

Return type

List[PrivateSubnet]

vpc

The VPC we’re configuring NAT for.

stability :stability: experimental

Return type

Vpc