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

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 AssociateVpcCidrBlockRequest data as a 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",
  ipv_4_ipam_pool_id: "IpamPoolId",
  ipv_4_netmask_length: 1,
  ipv_6_ipam_pool_id: "IpamPoolId",
  ipv_6_netmask_length: 1,
}

Constant Summary collapse

SENSITIVE =
[]

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)


2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2435

class AssociateVpcCidrBlockRequest < Struct.new(
  :amazon_provided_ipv_6_cidr_block,
  :cidr_block,
  :vpc_id,
  :ipv_6_cidr_block_network_border_group,
  :ipv_6_pool,
  :ipv_6_cidr_block,
  :ipv_4_ipam_pool_id,
  :ipv_4_netmask_length,
  :ipv_6_ipam_pool_id,
  :ipv_6_netmask_length)
  SENSITIVE = []
  include Aws::Structure
end

#cidr_blockString

An IPv4 CIDR block to associate with the VPC.

Returns:

  • (String)


2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2435

class AssociateVpcCidrBlockRequest < Struct.new(
  :amazon_provided_ipv_6_cidr_block,
  :cidr_block,
  :vpc_id,
  :ipv_6_cidr_block_network_border_group,
  :ipv_6_pool,
  :ipv_6_cidr_block,
  :ipv_4_ipam_pool_id,
  :ipv_4_netmask_length,
  :ipv_6_ipam_pool_id,
  :ipv_6_netmask_length)
  SENSITIVE = []
  include Aws::Structure
end

#ipv_4_ipam_pool_idString

Associate a CIDR allocated from an IPv4 IPAM pool to a VPC. For more information about Amazon VPC IP Address Manager (IPAM), see What is IPAM? in the Amazon VPC IPAM User Guide.

Returns:

  • (String)


2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2435

class AssociateVpcCidrBlockRequest < Struct.new(
  :amazon_provided_ipv_6_cidr_block,
  :cidr_block,
  :vpc_id,
  :ipv_6_cidr_block_network_border_group,
  :ipv_6_pool,
  :ipv_6_cidr_block,
  :ipv_4_ipam_pool_id,
  :ipv_4_netmask_length,
  :ipv_6_ipam_pool_id,
  :ipv_6_netmask_length)
  SENSITIVE = []
  include Aws::Structure
end

#ipv_4_netmask_lengthInteger

The netmask length of the IPv4 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool. For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide.

Returns:

  • (Integer)


2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2435

class AssociateVpcCidrBlockRequest < Struct.new(
  :amazon_provided_ipv_6_cidr_block,
  :cidr_block,
  :vpc_id,
  :ipv_6_cidr_block_network_border_group,
  :ipv_6_pool,
  :ipv_6_cidr_block,
  :ipv_4_ipam_pool_id,
  :ipv_4_netmask_length,
  :ipv_6_ipam_pool_id,
  :ipv_6_netmask_length)
  SENSITIVE = []
  include Aws::Structure
end

#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)


2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2435

class AssociateVpcCidrBlockRequest < Struct.new(
  :amazon_provided_ipv_6_cidr_block,
  :cidr_block,
  :vpc_id,
  :ipv_6_cidr_block_network_border_group,
  :ipv_6_pool,
  :ipv_6_cidr_block,
  :ipv_4_ipam_pool_id,
  :ipv_4_netmask_length,
  :ipv_6_ipam_pool_id,
  :ipv_6_netmask_length)
  SENSITIVE = []
  include Aws::Structure
end

#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)


2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2435

class AssociateVpcCidrBlockRequest < Struct.new(
  :amazon_provided_ipv_6_cidr_block,
  :cidr_block,
  :vpc_id,
  :ipv_6_cidr_block_network_border_group,
  :ipv_6_pool,
  :ipv_6_cidr_block,
  :ipv_4_ipam_pool_id,
  :ipv_4_netmask_length,
  :ipv_6_ipam_pool_id,
  :ipv_6_netmask_length)
  SENSITIVE = []
  include Aws::Structure
end

#ipv_6_ipam_pool_idString

Associates a CIDR allocated from an IPv6 IPAM pool to a VPC. For more information about Amazon VPC IP Address Manager (IPAM), see What is IPAM? in the Amazon VPC IPAM User Guide.

Returns:

  • (String)


2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2435

class AssociateVpcCidrBlockRequest < Struct.new(
  :amazon_provided_ipv_6_cidr_block,
  :cidr_block,
  :vpc_id,
  :ipv_6_cidr_block_network_border_group,
  :ipv_6_pool,
  :ipv_6_cidr_block,
  :ipv_4_ipam_pool_id,
  :ipv_4_netmask_length,
  :ipv_6_ipam_pool_id,
  :ipv_6_netmask_length)
  SENSITIVE = []
  include Aws::Structure
end

#ipv_6_netmask_lengthInteger

The netmask length of the IPv6 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool. For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide.

Returns:

  • (Integer)


2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2435

class AssociateVpcCidrBlockRequest < Struct.new(
  :amazon_provided_ipv_6_cidr_block,
  :cidr_block,
  :vpc_id,
  :ipv_6_cidr_block_network_border_group,
  :ipv_6_pool,
  :ipv_6_cidr_block,
  :ipv_4_ipam_pool_id,
  :ipv_4_netmask_length,
  :ipv_6_ipam_pool_id,
  :ipv_6_netmask_length)
  SENSITIVE = []
  include Aws::Structure
end

#ipv_6_poolString

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

Returns:

  • (String)


2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2435

class AssociateVpcCidrBlockRequest < Struct.new(
  :amazon_provided_ipv_6_cidr_block,
  :cidr_block,
  :vpc_id,
  :ipv_6_cidr_block_network_border_group,
  :ipv_6_pool,
  :ipv_6_cidr_block,
  :ipv_4_ipam_pool_id,
  :ipv_4_netmask_length,
  :ipv_6_ipam_pool_id,
  :ipv_6_netmask_length)
  SENSITIVE = []
  include Aws::Structure
end

#vpc_idString

The ID of the VPC.

Returns:

  • (String)


2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2435

class AssociateVpcCidrBlockRequest < Struct.new(
  :amazon_provided_ipv_6_cidr_block,
  :cidr_block,
  :vpc_id,
  :ipv_6_cidr_block_network_border_group,
  :ipv_6_pool,
  :ipv_6_cidr_block,
  :ipv_4_ipam_pool_id,
  :ipv_4_netmask_length,
  :ipv_6_ipam_pool_id,
  :ipv_6_netmask_length)
  SENSITIVE = []
  include Aws::Structure
end