Skip to main content

ipam_allocation

Gets an individual ipam_allocation resource

Overview

Nameipam_allocation
TypeResource
Descriptionipam_allocation
Idawscc.ec2.ipam_allocation

Fields

NameDatatypeDescription
ipam_pool_allocation_idstringId of the allocation.
ipam_pool_idstringId of the IPAM Pool.
cidrstring
netmask_lengthintegerThe desired netmask length of the allocation. If set, IPAM will choose a block of free space with this size and return the CIDR representing it.
descriptionstring
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
ipam_pool_allocation_id,
ipam_pool_id,
cidr,
netmask_length,
description
FROM awscc.ec2.ipam_allocation
WHERE data__Identifier = '<IpamPoolId>|<IpamPoolAllocationId>|<Cidr>';

Permissions

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

Read

ec2:GetIpamPoolAllocations

Delete

ec2:ReleaseIpamPoolAllocation