Skip to main content

custom_endpoints

Creates, updates, deletes, gets or lists a custom_endpoints resource.

Overview

Namecustom_endpoints
TypeResource
Idaws.iot_managed_integrations.custom_endpoints

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
endpoint_addressstringThe IoT managed integrations dedicated, custom endpoint for the device to route traffic through. (pattern: <code>[A-Za-z0-9._@-]+</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_custom_endpointselectregionReturns the IoT managed integrations custom endpoint.
register_custom_endpointinsertregionCustomers can request IoT managed integrations to manage the server trust for them or bring their own external server trusts for the custom domain. Returns an IoT managed integrations endpoint.

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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Returns the IoT managed integrations custom endpoint.

SELECT
endpoint_address
FROM aws.iot_managed_integrations.custom_endpoints
WHERE region = '{{ region }}' -- required
;

INSERT examples

Customers can request IoT managed integrations to manage the server trust for them or bring their own external server trusts for the custom domain. Returns an IoT managed integrations endpoint.

INSERT INTO aws.iot_managed_integrations.custom_endpoints (
region
)
SELECT
'{{ region }}'
RETURNING
endpoint_address
;