Skip to main content

ipam_prefix_list_resolver_version_entries

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

Overview

Nameipam_prefix_list_resolver_version_entries
TypeResource
Idaws.ec2.ipam_prefix_list_resolver_version_entries

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
cidrstringThe CIDR block that was selected and synchronized in this resolver version.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_ipam_prefix_list_resolver_version_entriesselectIpamPrefixListResolverId, IpamPrefixListResolverVersion, regionDryRun, MaxResults, NextTokenRetrieves the CIDR entries for a specific version of an IPAM prefix list resolver. This shows the actual CIDRs that were selected and synchronized at a particular point in time.

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
IpamPrefixListResolverIdstringThe ID of the IPAM prefix list resolver whose version entries you want to retrieve.
IpamPrefixListResolverVersioninteger (int64)The version number of the resolver for which to retrieve CIDR entries. If not specified, the latest version is used.
regionstringAWS region (default: us-east-1)
DryRunbooleanA 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.
MaxResultsintegerThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
NextTokenstringThe token for the next page of results.

SELECT examples

Retrieves the CIDR entries for a specific version of an IPAM prefix list resolver. This shows the actual CIDRs that were selected and synchronized at a particular point in time.

SELECT
cidr
FROM aws.ec2.ipam_prefix_list_resolver_version_entries
WHERE IpamPrefixListResolverId = '{{ IpamPrefixListResolverId }}' -- required
AND IpamPrefixListResolverVersion = '{{ IpamPrefixListResolverVersion }}' -- required
AND region = '{{ region }}' -- required
AND DryRun = '{{ DryRun }}'
AND MaxResults = '{{ MaxResults }}'
AND NextToken = '{{ NextToken }}'
;