AWS

Download 184
Last updated Feb 21, 2024

aws-ec2-nat-gateways

Describes one or more of your NAT gateways.

aws-ec2-nat-gateways [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:DescribeNatGateways

Output Fields

FieldTypeNameDescription
aws_profileStringConnect profileThe identifier of AWS connect profile
regionStringRegione.g. ap-northeast-2
nat_gateway_idStringNAT gateway ID
stateStringStatee.g. pending, failed, available, deleting, deleted
failure_codeStringFailure code
failure_msgStringFailure message
subnet_idStringSubnet ID
vpc_idStringVPC ID
created_atDateCreated at
deleted_atDateDeleted at
addressesListAddressesElements with alloc_id, nic_id, private_ip, public_ip
tagsListTagsElements with key and value properties