EC2 Describe Route Tables
Describes one or more of your route tables.
Each subnet in your VPC must be associated with a route table. If a subnet is not explicitly associated with any route table, it is implicitly associated with the main route table. This command does not return the subnet ID for implicit associations.
For more information, see Route tables in the Amazon Virtual Private Cloud User Guide.
External Documentation
To learn more, visit the AWS documentation.
Basic Parameters
Parameter | Description |
---|---|
AWS Region(s) | Enter the desired AWS Region(s).To execute the action in multiple regions, provide a comma-separated list.For example: us-east-1,eu-west-2 .If you wish to run the action in all available regions, use the asterisk symbol (* ) instead. |
Route Table IDs | One or more route table IDs.Default: Describes all your route tables. |
Advanced Parameters
Parameter | Description |
---|---|
Disable XML To JSON Auto Convert | When checked, XML responses are not automatically converted into JSON format. |
Dry Run | Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation . Otherwise, it is UnauthorizedOperation . |
Filters | One or more filters.
|
Max Results | The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value. |
Next Token | The token for the next page of results. |
Example Output
{
"RouteTables": [
{
"Associations": [
{
"Main": true,
"RouteTableAssociationId": "rtbassoc-d8ccddba",
"RouteTableId": "rtb-1f382e7d"
}
],
"PropagatingVgws": [],
"RouteTableId": "rtb-1f382e7d",
"Routes": [
{
"DestinationCidrBlock": "10.0.0.0/16",
"GatewayId": "local",
"State": "active"
}
],
"Tags": [],
"VpcId": "vpc-a01106c2"
}
]
}
Workflow Library Example
Ec2 Describe Route Tables with Aws and Send Results Via Email
Preview this Workflow on desktop