Skip to main content

tags

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

Overview

Nametags
TypeResource
Idaws.healthlake.tags

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
tagsarrayReturns a list of tags associated with a data store.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_tags_for_resourceselectregionReturns a list of all existing tags associated with a data store.
untag_resourceupdateregion, ResourceARN, TagKeysRemove a user-specifed key and value tag from a data store.
tag_resourceupdateregion, ResourceARNAdd a user-specifed key and value tag to a data store.

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

Returns a list of all existing tags associated with a data store.

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

UPDATE examples

Remove a user-specifed key and value tag from a data store.

UPDATE aws.healthlake.tags
SET
ResourceARN = '{{ ResourceARN }}',
TagKeys = '{{ TagKeys }}'
WHERE
region = '{{ region }}' --required
AND ResourceARN = '{{ ResourceARN }}' --required
AND TagKeys = '{{ TagKeys }}' --required;