Skip to main content

ipam_internet_registry_association_cidrs

Creates, updates, deletes, gets or lists an ipam_internet_registry_association_cidrs resource.

Overview

Nameipam_internet_registry_association_cidrs
TypeResource
Idaws.ec2.ipam_internet_registry_association_cidrs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
cidrstringThe IP address prefix in CIDR notation.
last_observed_atstringThe time when the CIDR was last observed at the internet registry.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_ipam_internet_registry_association_cidrsselectIpamInternetRegistryAssociationId, regionDryRun, MaxResults, NextToken, FilterRetrieves IP address CIDRs registered with an internet registry for an IPAM internet registry association. We recommend using pagination to ensure that the operation returns quickly and successfully.

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
IpamInternetRegistryAssociationIdstringThe ID of the IPAM internet registry association.
regionstringAWS region (default: us-east-1)
DryRunbooleanChecks whether you have the required permissions for the operation, 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 to apply to the results.
MaxResultsintegerThe maximum number of results to return in a single call. If not specified, all available results are returned. To retrieve the remaining results, make another call with the returned nextToken value.
NextTokenstringThe token for the next page of results.

SELECT examples

Retrieves IP address CIDRs registered with an internet registry for an IPAM internet registry association. We recommend using pagination to ensure that the operation returns quickly and successfully.

SELECT
cidr,
last_observed_at
FROM aws.ec2.ipam_internet_registry_association_cidrs
WHERE IpamInternetRegistryAssociationId = '{{ IpamInternetRegistryAssociationId }}' -- required
AND region = '{{ region }}' -- required
AND DryRun = '{{ DryRun }}'
AND MaxResults = '{{ MaxResults }}'
AND NextToken = '{{ NextToken }}'
AND Filter = '{{ Filter }}'
;