managed_thing_certificates
Creates, updates, deletes, gets or lists a managed_thing_certificates resource.
Overview
| Name | managed_thing_certificates |
| Type | Resource |
| Id | aws.iot_managed_integrations.managed_thing_certificates |
Fields
The following fields are returned by SELECT queries:
- get_managed_thing_certificate
| Name | Datatype | Description |
|---|---|---|
certificate_pem | string | The PEM-encoded certificate for the managed thing. (pattern: <code>[\s\S]*</code>) |
managed_thing_id | string | The identifier of the managed thing. (pattern: <code>[a-zA-Z0-9:_-]*</code>) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_managed_thing_certificate | select | identifier, region | Retrieves the certificate PEM for a managed IoT thing. |
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 identifier of the managed thing. |
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_managed_thing_certificate
Retrieves the certificate PEM for a managed IoT thing.
SELECT
certificate_pem,
managed_thing_id
FROM aws.iot_managed_integrations.managed_thing_certificates
WHERE identifier = '{{ identifier }}' -- required
AND region = '{{ region }}' -- required
;