vpc_endpoint_service_names
Creates, updates, deletes, gets or lists a vpc_endpoint_service_names resource.
Overview
| Name | vpc_endpoint_service_names |
| Type | Resource |
| Id | aws.dsql.vpc_endpoint_service_names |
Fields
The following fields are returned by SELECT queries:
- get_vpc_endpoint_service_name
| Name | Datatype | Description |
|---|---|---|
cluster_vpc_endpoint | string | The VPC connection endpoint for the cluster. (pattern: <code>[a-zA-Z0-9.-]+</code>) |
service_name | string | The VPC endpoint service name. (pattern: <code>com.amazonaws.[a-z0-9-]+.dsql-[a-f0-9]{6}</code>) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_vpc_endpoint_service_name | select | identifier, region | Retrieves the VPC endpoint service name. |
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 |
|---|---|---|
identifier | string | The ID of the cluster to retrieve. |
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_vpc_endpoint_service_name
Retrieves the VPC endpoint service name.
SELECT
cluster_vpc_endpoint,
service_name
FROM aws.dsql.vpc_endpoint_service_names
WHERE identifier = '{{ identifier }}' -- required
AND region = '{{ region }}' -- required
;