aws.ec2.get_ipam_pool_allocations
Example SQL Queries
SELECT * FROMaws.ec2.get_ipam_pool_allocationsWHERE"ipam_pool_id" = 'VALUE';Description
Get a list of all the CIDR allocations in an IPAM pool. The Region you use should be the IPAM pool locale. The locale is the Amazon Web Services Region where this IPAM pool is available for allocations.
If you use this action after AllocateIpamPoolCidr or ReleaseIpamPoolAllocation, note that all EC2 API actions follow an eventual consistency model.
Table Definition
| Column Name | Column Data Type |
|---|---|
| ipam_pool_id Required Input Column The ID of the IPAM pool you want to see the allocations for. | VARCHAR |
| dry_run Input Column A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. | BOOLEAN |
| filters Input Column One or more filters for the request. For more information about filtering, see Filtering CLI output. | STRUCT( |
Show child fields
| |
| ipam_pool_allocation_id Input Column The ID of an allocation. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| cidr The CIDR for the allocation. A CIDR is a representation of an IP address and its associated network mask (or netmask) and refers to a range of IP addresses. An IPv4 CIDR example is 10.24.34.0/23. An IPv6 CIDR example is 2001:DB8::/32. | VARCHAR |
| description A description of the pool allocation. | VARCHAR |
| resource_id The ID of the resource. | VARCHAR |
| resource_owner The owner of the resource. | VARCHAR |
| resource_region The Amazon Web Services Region of the resource. | VARCHAR |
| resource_type The type of the resource. | VARCHAR |