ipam_prefix_list_resolver_version_entries
Creates, updates, deletes, gets or lists an ipam_prefix_list_resolver_version_entries resource.
Overview
| Name | ipam_prefix_list_resolver_version_entries |
| Type | Resource |
| Id | aws.ec2.ipam_prefix_list_resolver_version_entries |
Fields
The following fields are returned by SELECT queries:
- get_ipam_prefix_list_resolver_version_entries
| Name | Datatype | Description |
|---|---|---|
cidr | string | The CIDR block that was selected and synchronized in this resolver version. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_ipam_prefix_list_resolver_version_entries | select | IpamPrefixListResolverId, IpamPrefixListResolverVersion, region | DryRun, MaxResults, NextToken | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
IpamPrefixListResolverId | string | The ID of the IPAM prefix list resolver whose version entries you want to retrieve. |
IpamPrefixListResolverVersion | integer (int64) | The version number of the resolver for which to retrieve CIDR entries. If not specified, the latest version is used. |
region | string | AWS region (default: us-east-1) |
DryRun | boolean | 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. |
MaxResults | integer | The 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. |
NextToken | string | The token for the next page of results. |
SELECT examples
- get_ipam_prefix_list_resolver_version_entries
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 }}'
;