AWS

Download 277
Last updated Feb 21, 2024

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

FieldTypeNameDescription
aws_profileStringConnect profileThe identifier of AWS connect profile
regionStringRegione.g. ap-northeast-2
route_table_idStringRoute Table ID
vpc_idStringVPC ID
owner_idStringOwner ID
routesListRoutesElements 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.
associationsListAssociationsElements with main, route_table_assoc_id, route_table_id, and subnet_id properties.
propagating_vgwsListVirtual private gateway (VGW) propagating routesElements with gateway_id property.
tagsListTagsElements with key and value properties.