You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::EC2::Types::AssociateSubnetCidrBlockRequest

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

Overview

Note:

When making an API call, you may pass AssociateSubnetCidrBlockRequest data as a hash:

{
  ipv_6_cidr_block: "String", # required
  subnet_id: "String", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#ipv_6_cidr_blockString

The IPv6 CIDR block for your subnet. The subnet must have a /64 prefix length.

Returns:

  • (String)


682
683
684
685
686
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 682

class AssociateSubnetCidrBlockRequest < Struct.new(
  :ipv_6_cidr_block,
  :subnet_id)
  include Aws::Structure
end

#subnet_idString

The ID of your subnet.

Returns:

  • (String)


682
683
684
685
686
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 682

class AssociateSubnetCidrBlockRequest < Struct.new(
  :ipv_6_cidr_block,
  :subnet_id)
  include Aws::Structure
end