Class: Aws::EC2::Types::AssociateNatGatewayAddressRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::AssociateNatGatewayAddressRequest
- Defined in:
- gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#allocation_ids ⇒ Array<String>
The allocation IDs of EIPs that you want to associate with your NAT gateway.
-
#availability_zone ⇒ String
For regional NAT gateways only: The Availability Zone where you want to associate an Elastic IP address (EIP).
-
#availability_zone_id ⇒ String
For regional NAT gateways only: The ID of the Availability Zone where you want to associate an Elastic IP address (EIP).
-
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
-
#nat_gateway_id ⇒ String
The ID of the NAT gateway.
-
#private_ip_addresses ⇒ Array<String>
The private IPv4 addresses that you want to assign to the NAT gateway.
Instance Attribute Details
#allocation_ids ⇒ Array<String>
The allocation IDs of EIPs that you want to associate with your NAT gateway.
2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2470 class AssociateNatGatewayAddressRequest < Struct.new( :nat_gateway_id, :allocation_ids, :private_ip_addresses, :dry_run, :availability_zone, :availability_zone_id) SENSITIVE = [] include Aws::Structure end |
#availability_zone ⇒ String
For regional NAT gateways only: The Availability Zone where you want to associate an Elastic IP address (EIP). The regional NAT gateway uses a separate EIP in each AZ to handle outbound NAT traffic from that AZ.
A regional NAT gateway is a single NAT Gateway that works across multiple availability zones (AZs) in your VPC, providing redundancy, scalability and availability across all the AZs in a Region.
2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2470 class AssociateNatGatewayAddressRequest < Struct.new( :nat_gateway_id, :allocation_ids, :private_ip_addresses, :dry_run, :availability_zone, :availability_zone_id) SENSITIVE = [] include Aws::Structure end |
#availability_zone_id ⇒ String
For regional NAT gateways only: The ID of the Availability Zone where you want to associate an Elastic IP address (EIP). The regional NAT gateway uses a separate EIP in each AZ to handle outbound NAT traffic from that AZ. Use this instead of AvailabilityZone for consistent identification of AZs across Amazon Web Services Regions.
A regional NAT gateway is a single NAT Gateway that works across multiple availability zones (AZs) in your VPC, providing redundancy, scalability and availability across all the AZs in a Region.
2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2470 class AssociateNatGatewayAddressRequest < Struct.new( :nat_gateway_id, :allocation_ids, :private_ip_addresses, :dry_run, :availability_zone, :availability_zone_id) SENSITIVE = [] include Aws::Structure end |
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action,
without actually making the request, and provides an error response.
If you have the required permissions, the error response is
DryRunOperation. Otherwise, it is UnauthorizedOperation.
2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2470 class AssociateNatGatewayAddressRequest < Struct.new( :nat_gateway_id, :allocation_ids, :private_ip_addresses, :dry_run, :availability_zone, :availability_zone_id) SENSITIVE = [] include Aws::Structure end |
#nat_gateway_id ⇒ String
The ID of the NAT gateway.
2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2470 class AssociateNatGatewayAddressRequest < Struct.new( :nat_gateway_id, :allocation_ids, :private_ip_addresses, :dry_run, :availability_zone, :availability_zone_id) SENSITIVE = [] include Aws::Structure end |
#private_ip_addresses ⇒ Array<String>
The private IPv4 addresses that you want to assign to the NAT gateway.
2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2470 class AssociateNatGatewayAddressRequest < Struct.new( :nat_gateway_id, :allocation_ids, :private_ip_addresses, :dry_run, :availability_zone, :availability_zone_id) SENSITIVE = [] include Aws::Structure end |