ipam_allocation
Gets an individual ipam_allocation
resource
Overview
Name | ipam_allocation |
Type | Resource |
Description | ipam_allocation |
Id | awscc.ec2.ipam_allocation |
Fields
Name | Datatype | Description |
---|---|---|
ipam_pool_allocation_id | string | Id of the allocation. |
ipam_pool_id | string | Id of the IPAM Pool. |
cidr | string | |
netmask_length | integer | The 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. |
description | string | |
region | string | AWS 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