aws-ec2-vpn-connections
Describes one or more of your AWS EC2 VPN connections.
aws-ec2-vpn-connections [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:DescribeVpnConnections
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 |
type | String | Type | e.g. ipsec.1 |
vpn_connection_id | String | VPN connection ID | |
vpn_gateway_id | String | VPN gateway ID | |
transit_gateway_id | String | Transit gateway ID | |
state | String | State | e.g. pending, available, deleting, deleted |
category | String | Category | e.g. VPN-Classic |
static_route_only | Bool | Static route only | true or false |
customer_gateway_id | String | Customer gateway ID | |
customer_gateway_config | String | Customer gateway config | |
vpn_static_routes | List | VPN static routes | Elements with dst_cidr_block, source, and state properties. |
vgw_telemetry | List | VGW telemetry | Elements with accepted_route_count, last_status_change, outside_ip, status, and status_msg properties. |
tags | List | Tags | Elements with key and value properties. |