Skip to main content

tags

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

Overview

Nametags
TypeResource
Idaws.dax.tags

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
keystringThe key for the tag. Tag keys are case sensitive. Every DAX cluster can only have one tag with the same key. If you try to add an existing tag (same key), the existing tag value will be updated to the new value.
valuestringThe value of the tag. Tag values are case-sensitive and can be null.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_tagsselectregionList all of the tags for a DAX cluster. You can call ListTags up to 10 times per second, per account.
untag_resourceupdateregion, ResourceName, TagKeysRemoves the association of tags from a DAX resource. You can call UntagResource up to 5 times per second, per account.
tag_resourceupdateregion, ResourceNameAssociates a set of tags with a DAX resource. You can call TagResource up to 5 times per second, per account.

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

List all of the tags for a DAX cluster. You can call ListTags up to 10 times per second, per account.

SELECT
key,
value
FROM aws.dax.tags
WHERE region = '{{ region }}' -- required
;

UPDATE examples

Removes the association of tags from a DAX resource. You can call UntagResource up to 5 times per second, per account.

UPDATE aws.dax.tags
SET
ResourceName = '{{ ResourceName }}',
TagKeys = '{{ TagKeys }}'
WHERE
region = '{{ region }}' --required
AND ResourceName = '{{ ResourceName }}' --required
AND TagKeys = '{{ TagKeys }}' --required
RETURNING
tags;