Skip to main content

hub_configurations

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

Overview

Namehub_configurations
TypeResource
Idaws.iot_managed_integrations.hub_configurations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
hub_token_timer_expiry_setting_in_secondsinteger (int64)A user-defined integer value that represents the hub token timer expiry setting in seconds.
updated_atstring (date-time)The timestamp value of when the hub configuration was updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_hub_configurationselectregionGet a hub configuration.
put_hub_configurationreplaceregion, HubTokenTimerExpirySettingInSecondsUpdate a hub configuration.

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

Get a hub configuration.

SELECT
hub_token_timer_expiry_setting_in_seconds,
updated_at
FROM aws.iot_managed_integrations.hub_configurations
WHERE region = '{{ region }}' -- required
;

REPLACE examples

Update a hub configuration.

REPLACE aws.iot_managed_integrations.hub_configurations
SET
HubTokenTimerExpirySettingInSeconds = {{ HubTokenTimerExpirySettingInSeconds }}
WHERE
region = '{{ region }}' --required
AND HubTokenTimerExpirySettingInSeconds = '{{ HubTokenTimerExpirySettingInSeconds }}' --required
RETURNING
hub_token_timer_expiry_setting_in_seconds;