Class: Aws::EC2::Types::CreateNatGatewayRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#allocation_idString

[Public NAT gateways only] The allocation ID of an Elastic IP address to associate with the NAT gateway. You cannot specify an Elastic IP address with a private NAT gateway. If the Elastic IP address is associated with another resource, you must first disassociate it.

Returns:

  • (String)


9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 9416

class CreateNatGatewayRequest < Struct.new(
  :allocation_id,
  :client_token,
  :dry_run,
  :subnet_id,
  :tag_specifications,
  :connectivity_type,
  :private_ip_address,
  :secondary_allocation_ids,
  :secondary_private_ip_addresses,
  :secondary_private_ip_address_count)
  SENSITIVE = []
  include Aws::Structure
end

#client_tokenString

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.

Constraint: Maximum 64 ASCII characters.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 9416

class CreateNatGatewayRequest < Struct.new(
  :allocation_id,
  :client_token,
  :dry_run,
  :subnet_id,
  :tag_specifications,
  :connectivity_type,
  :private_ip_address,
  :secondary_allocation_ids,
  :secondary_private_ip_addresses,
  :secondary_private_ip_address_count)
  SENSITIVE = []
  include Aws::Structure
end

#connectivity_typeString

Indicates whether the NAT gateway supports public or private connectivity. The default is public connectivity.

Returns:

  • (String)


9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 9416

class CreateNatGatewayRequest < Struct.new(
  :allocation_id,
  :client_token,
  :dry_run,
  :subnet_id,
  :tag_specifications,
  :connectivity_type,
  :private_ip_address,
  :secondary_allocation_ids,
  :secondary_private_ip_addresses,
  :secondary_private_ip_address_count)
  SENSITIVE = []
  include Aws::Structure
end

#dry_runBoolean

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.

Returns:

  • (Boolean)


9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 9416

class CreateNatGatewayRequest < Struct.new(
  :allocation_id,
  :client_token,
  :dry_run,
  :subnet_id,
  :tag_specifications,
  :connectivity_type,
  :private_ip_address,
  :secondary_allocation_ids,
  :secondary_private_ip_addresses,
  :secondary_private_ip_address_count)
  SENSITIVE = []
  include Aws::Structure
end

#private_ip_addressString

The private IPv4 address to assign to the NAT gateway. If you don't provide an address, a private IPv4 address will be automatically assigned.

Returns:

  • (String)


9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 9416

class CreateNatGatewayRequest < Struct.new(
  :allocation_id,
  :client_token,
  :dry_run,
  :subnet_id,
  :tag_specifications,
  :connectivity_type,
  :private_ip_address,
  :secondary_allocation_ids,
  :secondary_private_ip_addresses,
  :secondary_private_ip_address_count)
  SENSITIVE = []
  include Aws::Structure
end

#secondary_allocation_idsArray<String>

Secondary EIP allocation IDs. For more information, see Create a NAT gateway in the Amazon VPC User Guide.

Returns:

  • (Array<String>)


9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 9416

class CreateNatGatewayRequest < Struct.new(
  :allocation_id,
  :client_token,
  :dry_run,
  :subnet_id,
  :tag_specifications,
  :connectivity_type,
  :private_ip_address,
  :secondary_allocation_ids,
  :secondary_private_ip_addresses,
  :secondary_private_ip_address_count)
  SENSITIVE = []
  include Aws::Structure
end

#secondary_private_ip_address_countInteger

[Private NAT gateway only] The number of secondary private IPv4 addresses you want to assign to the NAT gateway. For more information about secondary addresses, see Create a NAT gateway in the Amazon VPC User Guide.

Returns:

  • (Integer)


9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 9416

class CreateNatGatewayRequest < Struct.new(
  :allocation_id,
  :client_token,
  :dry_run,
  :subnet_id,
  :tag_specifications,
  :connectivity_type,
  :private_ip_address,
  :secondary_allocation_ids,
  :secondary_private_ip_addresses,
  :secondary_private_ip_address_count)
  SENSITIVE = []
  include Aws::Structure
end

#secondary_private_ip_addressesArray<String>

Secondary private IPv4 addresses. For more information about secondary addresses, see Create a NAT gateway in the Amazon VPC User Guide.

Returns:

  • (Array<String>)


9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 9416

class CreateNatGatewayRequest < Struct.new(
  :allocation_id,
  :client_token,
  :dry_run,
  :subnet_id,
  :tag_specifications,
  :connectivity_type,
  :private_ip_address,
  :secondary_allocation_ids,
  :secondary_private_ip_addresses,
  :secondary_private_ip_address_count)
  SENSITIVE = []
  include Aws::Structure
end

#subnet_idString

The ID of the subnet in which to create the NAT gateway.

Returns:

  • (String)


9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 9416

class CreateNatGatewayRequest < Struct.new(
  :allocation_id,
  :client_token,
  :dry_run,
  :subnet_id,
  :tag_specifications,
  :connectivity_type,
  :private_ip_address,
  :secondary_allocation_ids,
  :secondary_private_ip_addresses,
  :secondary_private_ip_address_count)
  SENSITIVE = []
  include Aws::Structure
end

#tag_specificationsArray<Types::TagSpecification>

The tags to assign to the NAT gateway.

Returns:



9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 9416

class CreateNatGatewayRequest < Struct.new(
  :allocation_id,
  :client_token,
  :dry_run,
  :subnet_id,
  :tag_specifications,
  :connectivity_type,
  :private_ip_address,
  :secondary_allocation_ids,
  :secondary_private_ip_addresses,
  :secondary_private_ip_address_count)
  SENSITIVE = []
  include Aws::Structure
end