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
| Field | Type | Name | Description |
|---|---|---|---|
| aws_profile | String | Connect profile | The identifier of AWS connect profile |
| region | String | Region | e.g. ap-northeast-2 |
| nat_gateway_id | String | NAT gateway ID | |
| state | String | State | e.g. pending, failed, available, deleting, deleted |
| failure_code | String | Failure code | |
| failure_msg | String | Failure message | |
| subnet_id | String | Subnet ID | |
| vpc_id | String | VPC ID | |
| created_at | Date | Created at | |
| deleted_at | Date | Deleted at | |
| addresses | List | Addresses | Elements with alloc_id, nic_id, private_ip, public_ip |
| tags | List | Tags | Elements with key and value properties |