Skip to main content

tags

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

Overview

Nametags
TypeResource
Idaws.timestream_influxdb.tags

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
tagsobjectA list of tags used to categorize and track resources.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_tags_for_resourceselectregionA list of tags applied to the resource.
tag_resourceupdateregion, resourceArn, tagsTags are composed of a Key/Value pairs. You can use tags to categorize and track your Timestream for InfluxDB resources.
untag_resourceupdateregion, resourceArn, tagKeysRemoves the tag from the specified resource.

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

A list of tags applied to the resource.

SELECT
tags
FROM aws.timestream_influxdb.tags
WHERE region = '{{ region }}' -- required
;

UPDATE examples

Tags are composed of a Key/Value pairs. You can use tags to categorize and track your Timestream for InfluxDB resources.

UPDATE aws.timestream_influxdb.tags
SET
resourceArn = '{{ resourceArn }}',
tags = '{{ tags }}'
WHERE
region = '{{ region }}' --required
AND resourceArn = '{{ resourceArn }}' --required
AND tags = '{{ tags }}' --required;