NatGatewayCreateMapping
¶
Source code in docs_src/capo_network_firewall/types/nat_gateway_create_mapping.py
allocation_ids
instance-attribute
¶
allocation_ids: NotRequired[NatGatewayAllocationIdList]
The allocation IDs of the Elastic IP addresses for a public NAT gateway, from 1 to 8. For each allocation ID, specify one address in PrivateIps. If you don't specify this, Network Firewall creates a private NAT gateway.
private_ips
instance-attribute
¶
private_ips: NotRequired[NatGatewayPrivateIpList]
The private IPv4 addresses of the NAT gateway. The addresses must be in the subnet that you specify and can't be the subnet's reserved addresses.
For a public NAT gateway, you must specify exactly one address for each Elastic IP address in AllocationIds, even if you specify only one. For a private NAT gateway, specify from 1 to 8 addresses. The first address is the primary address.
subnet_id
instance-attribute
¶
subnet_id: CollectionMember_String
The ID of the subnet where Network Firewall creates the NAT gateway. The subnet must be in the firewall's VPC and can't be one of the firewall endpoint subnets. Each mapping must be in a different Availability Zone.