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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing AssociateVpcCidrBlockRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  amazon_provided_ipv_6_cidr_block: false,
  cidr_block: "String",
  vpc_id: "VpcId", # required
  ipv_6_cidr_block_network_border_group: "String",
  ipv_6_pool: "Ipv6PoolEc2Id",
  ipv_6_cidr_block: "String",
}

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)

    Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC.

#cidr_blockString

An IPv4 CIDR block to associate with the VPC.

Returns:

  • (String)

    An IPv4 CIDR block to associate with the VPC.

#ipv_6_cidr_blockString

An IPv6 CIDR block from the IPv6 address pool. You must also specify Ipv6Pool in the request.

To let Amazon choose the IPv6 CIDR block for you, omit this parameter.

Returns:

  • (String)

    An IPv6 CIDR block from the IPv6 address pool.

#ipv_6_cidr_block_network_border_groupString

The name of the location from which we advertise the IPV6 CIDR block. Use this parameter to limit the CiDR block to this location.

You must set AmazonProvidedIpv6CidrBlock to true to use this parameter.

You can have one IPv6 CIDR block association per network border group.

Returns:

  • (String)

    The name of the location from which we advertise the IPV6 CIDR block.

#ipv_6_poolString

The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block.

Returns:

  • (String)

    The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block.

#vpc_idString

The ID of the VPC.

Returns:

  • (String)

    The ID of the VPC.