aws-ec2-route-tables
Describes one or more of your AWS EC2 route tables.
aws-ec2-route-tables [profile=PROFILE] [region=REGION]
- profile=PROFILE
- The identifier of AWS connect profile
- region=REGION
- AWS region
AWS IAM Policy
To use this command, you must allow the below permissions in your AWS IAM policy:
- ec2:DescribeRouteTables
Output Fields
Field | Type | Name | Description |
---|---|---|---|
aws_profile | String | Connect profile | The identifier of AWS connect profile |
region | String | Region | e.g. ap-northeast-2 |
route_table_id | String | Route Table ID | |
vpc_id | String | VPC ID | |
owner_id | String | Owner ID | |
routes | List | Routes | Elements with dst_cidr_block, dst_ipv6_cidr_block, dst_prefix_list_id, gateway_id, instance_id, instance_owner_id, nat_gateway_id, nic_id, origin, state, transit_gateway_id, vpc_peering_connection_id, and egress_only_internet_gateway_id properties. |
associations | List | Associations | Elements with main, route_table_assoc_id, route_table_id, and subnet_id properties. |
propagating_vgws | List | Virtual private gateway (VGW) propagating routes | Elements with gateway_id property. |
tags | List | Tags | Elements with key and value properties. |