Skip to main content

cidr_locations

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

Overview

Namecidr_locations
TypeResource
Idaws.route53.cidr_locations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
location_namestringA string that specifies a location name.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_cidr_locationsselectcidr_collection_id, regionnexttoken, maxresultsReturns 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.

NameDatatypeDescription
cidr_collection_idstringThe CIDR collection ID.
regionstringAWS region (default: us-east-1)
maxresultsstringThe maximum number of CIDR collection locations to return in the response.
nexttokenstringAn 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

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 }}'
;