Class: Aws::NetworkFirewall::Types::NatGatewayCreateMapping
- Inherits:
-
Struct
- Object
- Struct
- Aws::NetworkFirewall::Types::NatGatewayCreateMapping
- Defined in:
- gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall/types.rb
Overview
A NAT gateway that Network Firewall creates for a proxy mode firewall
in one Availability Zone. You use this in CreateFirewall and
AssociateSubnets.
To create a public NAT gateway, specify AllocationIds, and one
PrivateIps address for each Elastic IP address. To create a private
NAT gateway, specify only PrivateIps. You must specify at least one
of them. Each Elastic IP address and private IP address can appear
only once in a request.
The NAT gateway is a resource in your account. To change its IP addresses, use Amazon EC2 NAT gateway actions.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#allocation_ids ⇒ Array<String>
The allocation IDs of the Elastic IP addresses for a public NAT gateway, from 1 to 8.
-
#private_ips ⇒ Array<String>
The private IPv4 addresses of the NAT gateway.
-
#subnet_id ⇒ String
The ID of the subnet where Network Firewall creates the NAT gateway.
Instance Attribute Details
#allocation_ids ⇒ Array<String>
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.
6713 6714 6715 6716 6717 6718 6719 |
# File 'gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall/types.rb', line 6713 class NatGatewayCreateMapping < Struct.new( :subnet_id, :allocation_ids, :private_ips) SENSITIVE = [] include Aws::Structure end |
#private_ips ⇒ Array<String>
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.
6713 6714 6715 6716 6717 6718 6719 |
# File 'gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall/types.rb', line 6713 class NatGatewayCreateMapping < Struct.new( :subnet_id, :allocation_ids, :private_ips) SENSITIVE = [] include Aws::Structure end |
#subnet_id ⇒ 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.
6713 6714 6715 6716 6717 6718 6719 |
# File 'gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall/types.rb', line 6713 class NatGatewayCreateMapping < Struct.new( :subnet_id, :allocation_ids, :private_ips) SENSITIVE = [] include Aws::Structure end |