Skip to main content

coip_pool_usages

Creates, updates, deletes, gets or lists a coip_pool_usages resource.

Overview

Namecoip_pool_usages
TypeResource
Idaws.ec2.coip_pool_usages

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
coip_address_usagesstringInformation about the address usage.
coip_pool_idstringThe ID of the customer-owned address pool.
local_gateway_route_table_idstringThe ID of the local gateway route table.
next_tokenstringThe token to use to retrieve the next page of results. This value is null when there are no more results to return.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_coip_pool_usageselectPoolId, regionFilter, MaxResults, NextToken, DryRunDescribes the allocations from the specified customer-owned address pool.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
PoolIdstringThe ID of the address pool.
regionstringAWS region (default: us-east-1)
DryRunbooleanChecks 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.
FilterarrayOne or more filters. coip-address-usage.allocation-id - The allocation ID of the address. coip-address-usage.aws-account-id - The ID of the Amazon Web Services account that is using the customer-owned IP address. coip-address-usage.aws-service - The Amazon Web Services service that is using the customer-owned IP address. coip-address-usage.co-ip - The customer-owned IP address.
MaxResultsintegerThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
NextTokenstringThe token for the next page of results.

SELECT examples

Describes the allocations from the specified customer-owned address pool.

SELECT
coip_address_usages,
coip_pool_id,
local_gateway_route_table_id,
next_token
FROM aws.ec2.coip_pool_usages
WHERE PoolId = '{{ PoolId }}' -- required
AND region = '{{ region }}' -- required
AND Filter = '{{ Filter }}'
AND MaxResults = '{{ MaxResults }}'
AND NextToken = '{{ NextToken }}'
AND DryRun = '{{ DryRun }}'
;