Skip to main content

cidr_blocks

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

Overview

Namecidr_blocks
TypeResource
Idaws.route53.cidr_blocks

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
cidr_blockstringValue for the CIDR block.
location_namestringThe location name of the CIDR block.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_cidr_blocksselectcidr_collection_id, regionlocation, nexttoken, maxresultsReturns a paginated list of location objects and their 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 UUID of the CIDR collection.
regionstringAWS region (default: us-east-1)
locationstringThe name of the CIDR collection location.
maxresultsstringMaximum number of results you want returned.
nexttokenstringAn opaque pagination token to indicate where the service is to begin enumerating results.

SELECT examples

Returns a paginated list of location objects and their CIDR blocks.

SELECT
cidr_block,
location_name
FROM aws.route53.cidr_blocks
WHERE cidr_collection_id = '{{ cidr_collection_id }}' -- required
AND region = '{{ region }}' -- required
AND location = '{{ location }}'
AND nexttoken = '{{ nexttoken }}'
AND maxresults = '{{ maxresults }}'
;