Skip to main content

ipam_pool_cidr

Gets an individual ipam_pool_cidr resource

Overview

Nameipam_pool_cidr
TypeResource
Descriptionipam_pool_cidr
Idawscc.ec2.ipam_pool_cidr

Fields

NameDatatypeDescription
ipam_pool_cidr_idstringId of the IPAM Pool Cidr.
ipam_pool_idstringId of the IPAM Pool.
cidrstringRepresents a single IPv4 or IPv6 CIDR
netmask_lengthintegerThe desired netmask length of the provision. If set, IPAM will choose a block of free space with this size and return the CIDR representing it.
statestringProvisioned state of the cidr.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
ipam_pool_cidr_id,
ipam_pool_id,
cidr,
netmask_length,
state
FROM awscc.ec2.ipam_pool_cidr
WHERE data__Identifier = '<IpamPoolId>|<IpamPoolCidrId>';

Permissions

To operate on the ipam_pool_cidr resource, the following permissions are required:

Read

ec2:GetIpamPoolCidrs

Delete

ec2:DeprovisionIpamPoolCidr,
ec2:GetIpamPoolCidrs