Skip to main content

ipam_pool_cidr

Gets or updates an individual ipam_pool_cidr resource, use ipam_pool_cidrs to retrieve a list of resources or to create or delete a resource.

Overview

Nameipam_pool_cidr
TypeResource
DescriptionResource Schema of AWS::EC2::IPAMPoolCidr Type
Idaws.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

NameAccessible byRequired Params
get_resourceSELECTdata__Identifier, region

SELECT Example

SELECT
region,
ipam_pool_cidr_id,
ipam_pool_id,
cidr,
netmask_length,
state
FROM aws.ec2.ipam_pool_cidr
WHERE region = 'us-east-1' AND data__Identifier = '<IpamPoolId>|<IpamPoolCidrId>';

Permissions

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

Read

ec2:GetIpamPoolCidrs