Skip to main content

ipam_allocation

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

Overview

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

NameAccessible byRequired Params
get_resourceSELECTdata__Identifier, region

SELECT Example

SELECT
region,
ipam_pool_allocation_id,
ipam_pool_id,
cidr,
netmask_length,
description
FROM aws.ec2.ipam_allocation
WHERE region = 'us-east-1' AND data__Identifier = '<IpamPoolId>|<IpamPoolAllocationId>|<Cidr>';

Permissions

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

Read

ec2:GetIpamPoolAllocations