Class: Aws::EC2::Types::AssociateVpcCidrBlockRequest

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

Overview

Note:

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

{
  amazon_provided_ipv_6_cidr_block: false,
  cidr_block: "String",
  vpc_id: "String", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#amazon_provided_ipv_6_cidr_blockBoolean

Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You cannot specify the range of IPv6 addresses, or the size of the CIDR block.

Returns:

  • (Boolean)


1035
1036
1037
1038
1039
1040
# File 'lib/aws-sdk-ec2/types.rb', line 1035

class AssociateVpcCidrBlockRequest < Struct.new(
  :amazon_provided_ipv_6_cidr_block,
  :cidr_block,
  :vpc_id)
  include Aws::Structure
end

#cidr_blockString

An IPv4 CIDR block to associate with the VPC.

Returns:

  • (String)


1035
1036
1037
1038
1039
1040
# File 'lib/aws-sdk-ec2/types.rb', line 1035

class AssociateVpcCidrBlockRequest < Struct.new(
  :amazon_provided_ipv_6_cidr_block,
  :cidr_block,
  :vpc_id)
  include Aws::Structure
end

#vpc_idString

The ID of the VPC.

Returns:

  • (String)


1035
1036
1037
1038
1039
1040
# File 'lib/aws-sdk-ec2/types.rb', line 1035

class AssociateVpcCidrBlockRequest < Struct.new(
  :amazon_provided_ipv_6_cidr_block,
  :cidr_block,
  :vpc_id)
  include Aws::Structure
end