vpn_connection
Gets an individual vpn_connection
resource
Overview
Name | vpn_connection |
Type | Resource |
Description | vpn_connection |
Id | awscc.ec2.vpn_connection |
Fields
Name | Datatype | Description |
---|---|---|
vpn_connection_id | string | The provider-assigned unique ID for this managed resource |
customer_gateway_id | string | The ID of the customer gateway at your end of the VPN connection. |
static_routes_only | boolean | Indicates whether the VPN connection uses static routes only. |
tags | array | Any tags assigned to the VPN connection. |
transit_gateway_id | string | The ID of the transit gateway associated with the VPN connection. |
type | string | The type of VPN connection. |
vpn_gateway_id | string | The ID of the virtual private gateway at the AWS side of the VPN connection. |
vpn_tunnel_options_specifications | array | The tunnel options for the VPN connection. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
vpn_connection_id,
customer_gateway_id,
static_routes_only,
tags,
transit_gateway_id,
type,
vpn_gateway_id,
vpn_tunnel_options_specifications
FROM awscc.ec2.vpn_connection
WHERE data__Identifier = '<VpnConnectionId>';
Permissions
To operate on the vpn_connection
resource, the following permissions are required:
Delete
ec2:DescribeVpnConnections,
ec2:DeleteVpnConnection,
ec2:DeleteTags
Update
ec2:DescribeVpnConnections,
ec2:CreateTags,
ec2:DeleteTags
Read
ec2:DescribeVpnConnections