Class: Aws::EC2::Types::CreateSecondarySubnetRequest

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

#availability_zone ⇒ String

The Availability Zone for the secondary subnet. You must specify either AvailabilityZone or AvailabilityZoneId, but not both. For a secondary subnet in a virtual-edge secondary network, specify the Availability Zone that you specified when you created the secondary network.

Returns:

  • (String)


16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16517

class CreateSecondarySubnetRequest < Struct.new(
  :client_token,
  :availability_zone,
  :availability_zone_id,
  :dry_run,
  :ipv_4_cidr_block,
  :secondary_network_id,
  :tag_specifications,
  :ipv_6_cidr_block)
  SENSITIVE = []
  include Aws::Structure
end

#availability_zone_id ⇒ String

The ID of the Availability Zone for the secondary subnet. You must specify either AvailabilityZone or AvailabilityZoneId, but not both. For a secondary subnet in a virtual-edge secondary network, specify the Availability Zone that you specified when you created the secondary network. This option is preferred over AvailabilityZone because it provides a consistent identifier across Amazon Web Services accounts.

Returns:

  • (String)


16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16517

class CreateSecondarySubnetRequest < Struct.new(
  :client_token,
  :availability_zone,
  :availability_zone_id,
  :dry_run,
  :ipv_4_cidr_block,
  :secondary_network_id,
  :tag_specifications,
  :ipv_6_cidr_block)
  SENSITIVE = []
  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 Ensure Idempotency.

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

Returns:

  • (String)


16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16517

class CreateSecondarySubnetRequest < Struct.new(
  :client_token,
  :availability_zone,
  :availability_zone_id,
  :dry_run,
  :ipv_4_cidr_block,
  :secondary_network_id,
  :tag_specifications,
  :ipv_6_cidr_block)
  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.

Returns:

  • (Boolean)


16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16517

class CreateSecondarySubnetRequest < Struct.new(
  :client_token,
  :availability_zone,
  :availability_zone_id,
  :dry_run,
  :ipv_4_cidr_block,
  :secondary_network_id,
  :tag_specifications,
  :ipv_6_cidr_block)
  SENSITIVE = []
  include Aws::Structure
end

#ipv_4_cidr_block ⇒ String

The IPv4 CIDR block for the secondary subnet. The allowed size for the CIDR block is between /28 netmask and /12 netmask.

Returns:

  • (String)


16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16517

class CreateSecondarySubnetRequest < Struct.new(
  :client_token,
  :availability_zone,
  :availability_zone_id,
  :dry_run,
  :ipv_4_cidr_block,
  :secondary_network_id,
  :tag_specifications,
  :ipv_6_cidr_block)
  SENSITIVE = []
  include Aws::Structure
end

#ipv_6_cidr_block ⇒ String

The IPv6 CIDR block for the secondary subnet. The CIDR block size must be between /44 and /64. Supported only for virtual-edge secondary networks.

Returns:

  • (String)


16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16517

class CreateSecondarySubnetRequest < Struct.new(
  :client_token,
  :availability_zone,
  :availability_zone_id,
  :dry_run,
  :ipv_4_cidr_block,
  :secondary_network_id,
  :tag_specifications,
  :ipv_6_cidr_block)
  SENSITIVE = []
  include Aws::Structure
end

#secondary_network_id ⇒ String

The ID of the secondary network in which to create the secondary subnet.

Returns:

  • (String)


16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16517

class CreateSecondarySubnetRequest < Struct.new(
  :client_token,
  :availability_zone,
  :availability_zone_id,
  :dry_run,
  :ipv_4_cidr_block,
  :secondary_network_id,
  :tag_specifications,
  :ipv_6_cidr_block)
  SENSITIVE = []
  include Aws::Structure
end

#tag_specifications ⇒ Array<Types::TagSpecification>

The tags to assign to the secondary subnet.

Returns:



16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16517

class CreateSecondarySubnetRequest < Struct.new(
  :client_token,
  :availability_zone,
  :availability_zone_id,
  :dry_run,
  :ipv_4_cidr_block,
  :secondary_network_id,
  :tag_specifications,
  :ipv_6_cidr_block)
  SENSITIVE = []
  include Aws::Structure
end