cidr_locations
Creates, updates, deletes, gets or lists a cidr_locations resource.
Overview
| Name | cidr_locations |
| Type | Resource |
| Id | aws.route53.cidr_locations |
Fields
The following fields are returned by SELECT queries:
- list_cidr_locations
| Name | Datatype | Description |
|---|---|---|
location_name | string | A string that specifies a location name. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_cidr_locations | select | cidr_collection_id, region | nexttoken, maxresults | Returns a paginated list of CIDR locations for the given collection (metadata only, does not include CIDR blocks). |
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 |
|---|---|---|
cidr_collection_id | string | The CIDR collection ID. |
region | string | AWS region (default: us-east-1) |
maxresults | string | The maximum number of CIDR collection locations to return in the response. |
nexttoken | string | An opaque pagination token to indicate where the service is to begin enumerating results. If no value is provided, the listing of results starts from the beginning. |
SELECT examples
- list_cidr_locations
Returns a paginated list of CIDR locations for the given collection (metadata only, does not include CIDR blocks).
SELECT
location_name
FROM aws.route53.cidr_locations
WHERE cidr_collection_id = '{{ cidr_collection_id }}' -- required
AND region = '{{ region }}' -- required
AND nexttoken = '{{ nexttoken }}'
AND maxresults = '{{ maxresults }}'
;