vpn_connection_device_types
Creates, updates, deletes, gets or lists a vpn_connection_device_types resource.
Overview
| Name | vpn_connection_device_types |
| Type | Resource |
| Id | aws.ec2.vpn_connection_device_types |
Fields
The following fields are returned by SELECT queries:
- get_vpn_connection_device_types
| Name | Datatype | Description |
|---|---|---|
platform | string | Customer gateway device platform. |
software | string | Customer gateway device software version. |
vendor | string | Customer gateway device vendor. |
vpn_connection_device_type_id | string | Customer gateway device identifier. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_vpn_connection_device_types | select | region | MaxResults, NextToken, DryRun | Obtain a list of customer gateway devices for which sample configuration files can be provided. The request has no additional parameters. You can also see the list of device types with sample configuration files available under Your customer gateway device in the Amazon Web Services Site-to-Site VPN User Guide. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
DryRun | boolean | Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. |
MaxResults | integer | The maximum number of results returned by GetVpnConnectionDeviceTypes in paginated output. When this parameter is used, GetVpnConnectionDeviceTypes only returns MaxResults results in a single page along with a NextToken response element. The remaining results of the initial request can be seen by sending another GetVpnConnectionDeviceTypes request with the returned NextToken value. This value can be between 200 and 1000. If this parameter is not used, then GetVpnConnectionDeviceTypes returns all results. |
NextToken | string | The NextToken value returned from a previous paginated GetVpnConnectionDeviceTypes request where MaxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the NextToken value. This value is null when there are no more results to return. |
SELECT examples
- get_vpn_connection_device_types
Obtain a list of customer gateway devices for which sample configuration files can be provided. The request has no additional parameters. You can also see the list of device types with sample configuration files available under Your customer gateway device in the Amazon Web Services Site-to-Site VPN User Guide.
SELECT
platform,
software,
vendor,
vpn_connection_device_type_id
FROM aws.ec2.vpn_connection_device_types
WHERE region = '{{ region }}' -- required
AND MaxResults = '{{ MaxResults }}'
AND NextToken = '{{ NextToken }}'
AND DryRun = '{{ DryRun }}'
;