thing_runtime_configurations
Creates, updates, deletes, gets or lists a thing_runtime_configurations resource.
Overview
| Name | thing_runtime_configurations |
| Type | Resource |
| Id | aws.greengrass.thing_runtime_configurations |
Fields
The following fields are returned by SELECT queries:
- get_thing_runtime_configuration
| Name | Datatype | Description |
|---|---|---|
telemetry_configuration | object | Configuration for telemetry service. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_thing_runtime_configuration | select | thing_name, region | Get the runtime configuration of a thing. | |
update_thing_runtime_configuration | update | thing_name, region | Updates the runtime configuration of a 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 |
|---|---|---|
region | string | AWS region (default: us-east-1) |
thing_name | string | The thing name. |
SELECT examples
- get_thing_runtime_configuration
Get the runtime configuration of a thing.
SELECT
telemetry_configuration
FROM aws.greengrass.thing_runtime_configurations
WHERE thing_name = '{{ thing_name }}' -- required
AND region = '{{ region }}' -- required
;
UPDATE examples
- update_thing_runtime_configuration
Updates the runtime configuration of a thing.
UPDATE aws.greengrass.thing_runtime_configurations
SET
TelemetryConfiguration = '{{ TelemetryConfiguration }}'
WHERE
thing_name = '{{ thing_name }}' --required
AND region = '{{ region }}' --required;