routes
Retrieves a list of routes
in a region
Overview
Name | routes |
Type | Resource |
Description | routes |
Id | awscc.ec2.routes |
Fields
Name | Datatype | Description |
---|---|---|
route_table_id | string | The ID of the route table. The routing table must be associated with the same VPC that the virtual private gateway is attached to. |
cidr_block | string | The primary identifier of the resource generated by the service. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
route_table_id,
cidr_block
FROM awscc.ec2.routes
WHERE region = 'us-east-1'
Permissions
To operate on the routes
resource, the following permissions are required:
Create
ec2:CreateRoute,
ec2:DescribeRouteTables,
ec2:DescribeNetworkInterfaces
List
ec2:DescribeRouteTables