Class: Aws::EC2::Types::AllocateIpamPoolCidrRequest

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

#allowed_cidrsArray<String>

Include a particular CIDR range that can be returned by the pool. Allowed CIDRs are only allowed if using netmask length for allocation.

Returns:

  • (Array<String>)


1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1191

class AllocateIpamPoolCidrRequest < Struct.new(
  :dry_run,
  :ipam_pool_id,
  :cidr,
  :netmask_length,
  :client_token,
  :description,
  :preview_next_cidr,
  :allowed_cidrs,
  :disallowed_cidrs)
  SENSITIVE = []
  include Aws::Structure
end

#cidrString

The CIDR you would like to allocate from the IPAM pool. Note the following:

  • If there is no DefaultNetmaskLength allocation rule set on the pool, you must specify either the NetmaskLength or the CIDR.

  • If the DefaultNetmaskLength allocation rule is set on the pool, you can specify either the NetmaskLength or the CIDR and the DefaultNetmaskLength allocation rule will be ignored.

Possible values: Any available IPv4 or IPv6 CIDR.

Returns:

  • (String)


1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1191

class AllocateIpamPoolCidrRequest < Struct.new(
  :dry_run,
  :ipam_pool_id,
  :cidr,
  :netmask_length,
  :client_token,
  :description,
  :preview_next_cidr,
  :allowed_cidrs,
  :disallowed_cidrs)
  SENSITIVE = []
  include Aws::Structure
end

#client_tokenString

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.

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

Returns:

  • (String)


1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1191

class AllocateIpamPoolCidrRequest < Struct.new(
  :dry_run,
  :ipam_pool_id,
  :cidr,
  :netmask_length,
  :client_token,
  :description,
  :preview_next_cidr,
  :allowed_cidrs,
  :disallowed_cidrs)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

A description for the allocation.

Returns:

  • (String)


1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1191

class AllocateIpamPoolCidrRequest < Struct.new(
  :dry_run,
  :ipam_pool_id,
  :cidr,
  :netmask_length,
  :client_token,
  :description,
  :preview_next_cidr,
  :allowed_cidrs,
  :disallowed_cidrs)
  SENSITIVE = []
  include Aws::Structure
end

#disallowed_cidrsArray<String>

Exclude a particular CIDR range from being returned by the pool. Disallowed CIDRs are only allowed if using netmask length for allocation.

Returns:

  • (Array<String>)


1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1191

class AllocateIpamPoolCidrRequest < Struct.new(
  :dry_run,
  :ipam_pool_id,
  :cidr,
  :netmask_length,
  :client_token,
  :description,
  :preview_next_cidr,
  :allowed_cidrs,
  :disallowed_cidrs)
  SENSITIVE = []
  include Aws::Structure
end

#dry_runBoolean

A check for 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)


1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1191

class AllocateIpamPoolCidrRequest < Struct.new(
  :dry_run,
  :ipam_pool_id,
  :cidr,
  :netmask_length,
  :client_token,
  :description,
  :preview_next_cidr,
  :allowed_cidrs,
  :disallowed_cidrs)
  SENSITIVE = []
  include Aws::Structure
end

#ipam_pool_idString

The ID of the IPAM pool from which you would like to allocate a CIDR.

Returns:

  • (String)


1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1191

class AllocateIpamPoolCidrRequest < Struct.new(
  :dry_run,
  :ipam_pool_id,
  :cidr,
  :netmask_length,
  :client_token,
  :description,
  :preview_next_cidr,
  :allowed_cidrs,
  :disallowed_cidrs)
  SENSITIVE = []
  include Aws::Structure
end

#netmask_lengthInteger

The netmask length of the CIDR you would like to allocate from the IPAM pool. Note the following:

  • If there is no DefaultNetmaskLength allocation rule set on the pool, you must specify either the NetmaskLength or the CIDR.

  • If the DefaultNetmaskLength allocation rule is set on the pool, you can specify either the NetmaskLength or the CIDR and the DefaultNetmaskLength allocation rule will be ignored.

Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128.

Returns:

  • (Integer)


1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1191

class AllocateIpamPoolCidrRequest < Struct.new(
  :dry_run,
  :ipam_pool_id,
  :cidr,
  :netmask_length,
  :client_token,
  :description,
  :preview_next_cidr,
  :allowed_cidrs,
  :disallowed_cidrs)
  SENSITIVE = []
  include Aws::Structure
end

#preview_next_cidrBoolean

A preview of the next available CIDR in a pool.

Returns:

  • (Boolean)


1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1191

class AllocateIpamPoolCidrRequest < Struct.new(
  :dry_run,
  :ipam_pool_id,
  :cidr,
  :netmask_length,
  :client_token,
  :description,
  :preview_next_cidr,
  :allowed_cidrs,
  :disallowed_cidrs)
  SENSITIVE = []
  include Aws::Structure
end