ConfigureNatOptions

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

Bases: object

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

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

  • private_subnets (Sequence[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.

Attributes

nat_subnets

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

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.

Return type

List[PrivateSubnet]

vpc

The VPC we’re configuring NAT for.

Return type

Vpc