Skip to main content

thing_runtime_configurations

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

Overview

Namething_runtime_configurations
TypeResource
Idaws.greengrass.thing_runtime_configurations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
telemetry_configurationobjectConfiguration for telemetry service.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_thing_runtime_configurationselectthing_name, regionGet the runtime configuration of a thing.
update_thing_runtime_configurationupdatething_name, regionUpdates 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)
thing_namestringThe thing name.

SELECT examples

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

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;