vpn_connections
Used to retrieve a list of vpn_connections
in a region or create a vpn_connections
resource, use vpn_connection
to operate on an individual resource.
Overview
Name | vpn_connections |
Type | Resource |
Description | Resource Type definition for AWS::EC2::VPNConnection |
Id | aws.ec2.vpn_connections |
Fields
Name | Datatype | Description |
---|---|---|
vpn_connection_id | string | The provider-assigned unique ID for this managed resource |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
create_resource | INSERT | data__DesiredState, region |
list_resource | SELECT | region |
SELECT
Example
SELECT
region,
vpn_connection_id
FROM aws.ec2.vpn_connections
WHERE region = 'us-east-1'
Permissions
To operate on the vpn_connections
resource, the following permissions are required:
Create
ec2:DescribeVpnConnections,
ec2:CreateVpnConnection,
ec2:CreateTags
List
ec2:DescribeVpnConnections