service_endpoints
Creates, updates, deletes, gets or lists a service_endpoints resource.
Overview
| Name | service_endpoints |
| Type | Resource |
| Id | aws.iotwireless.service_endpoints |
Fields
The following fields are returned by SELECT queries:
- get_service_endpoint
| Name | Datatype | Description |
|---|---|---|
server_trust | string | The Root CA of the server trust certificate. (pattern: <code>[^-A-Za-z0-9+/=]|=[^=]|={3,}${1,4096}</code>) |
service_endpoint | string | The service endpoint value. |
service_type | string | The endpoint's service type. (CUPS, LNS) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_service_endpoint | select | region | serviceType | Gets the account-specific endpoint for Configuration and Update Server (CUPS) protocol or LoRaWAN Network Server (LNS) connections. |
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) |
serviceType | string | The service type for which to get endpoint information about. Can be CUPS for the Configuration and Update Server endpoint, or LNS for the LoRaWAN Network Server endpoint. |
SELECT examples
- get_service_endpoint
Gets the account-specific endpoint for Configuration and Update Server (CUPS) protocol or LoRaWAN Network Server (LNS) connections.
SELECT
server_trust,
service_endpoint,
service_type
FROM aws.iotwireless.service_endpoints
WHERE region = '{{ region }}' -- required
AND serviceType = '{{ serviceType }}'
;