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
}
Contains the parameters for CreateNatGateway.
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 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.
2951 2952 2953 2954 2955 2956 |
# File 'lib/aws-sdk-ec2/types.rb', line 2951 class CreateNatGatewayRequest < Struct.new( :allocation_id, :client_token, :subnet_id) include Aws::Structure end |
#client_token ⇒ String
Unique, case-sensitive identifier 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
2951 2952 2953 2954 2955 2956 |
# File 'lib/aws-sdk-ec2/types.rb', line 2951 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.
2951 2952 2953 2954 2955 2956 |
# File 'lib/aws-sdk-ec2/types.rb', line 2951 class CreateNatGatewayRequest < Struct.new( :allocation_id, :client_token, :subnet_id) include Aws::Structure end |