Class: Aws::EC2::Types::CreateNatGatewayRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::CreateNatGatewayRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ec2/types.rb
Overview
When making an API call, you may pass CreateNatGatewayRequest data as a hash:
{
allocation_id: "String", # required
client_token: "String",
subnet_id: "String", # required
}
Instance Attribute Summary collapse
-
#allocation_id ⇒ String
The allocation ID of an Elastic IP address to associate with the NAT gateway.
-
#client_token ⇒ String
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
-
#subnet_id ⇒ String
The subnet in which to create the NAT gateway.
Instance Attribute Details
#allocation_id ⇒ String
The allocation ID of an Elastic IP address to associate with the NAT gateway. If the Elastic IP address is associated with another resource, you must first disassociate it.
5643 5644 5645 5646 5647 5648 |
# File 'lib/aws-sdk-ec2/types.rb', line 5643 class CreateNatGatewayRequest < Struct.new( :allocation_id, :client_token, :subnet_id) include Aws::Structure end |
#client_token ⇒ String
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see [How to Ensure Idempotency].
Constraint: Maximum 64 ASCII characters.
[1]: docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
5643 5644 5645 5646 5647 5648 |
# File 'lib/aws-sdk-ec2/types.rb', line 5643 class CreateNatGatewayRequest < Struct.new( :allocation_id, :client_token, :subnet_id) include Aws::Structure end |
#subnet_id ⇒ String
The subnet in which to create the NAT gateway.
5643 5644 5645 5646 5647 5648 |
# File 'lib/aws-sdk-ec2/types.rb', line 5643 class CreateNatGatewayRequest < Struct.new( :allocation_id, :client_token, :subnet_id) include Aws::Structure end |