cidr_blocks
Creates, updates, deletes, gets or lists a cidr_blocks resource.
Overview
| Name | cidr_blocks |
| Type | Resource |
| Id | aws.route53.cidr_blocks |
Fields
The following fields are returned by SELECT queries:
- list_cidr_blocks
| Name | Datatype | Description |
|---|---|---|
cidr_block | string | Value for the CIDR block. |
location_name | string | The location name of the CIDR block. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_cidr_blocks | select | cidr_collection_id, region | location, nexttoken, maxresults | Returns 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.
| Name | Datatype | Description |
|---|---|---|
cidr_collection_id | string | The UUID of the CIDR collection. |
region | string | AWS region (default: us-east-1) |
location | string | The name of the CIDR collection location. |
maxresults | string | Maximum number of results you want returned. |
nexttoken | string | An opaque pagination token to indicate where the service is to begin enumerating results. |
SELECT examples
- list_cidr_blocks
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 }}'
;