Skip to main content

tags

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

Overview

Nametags
TypeResource
Idaws.kinesisanalyticsv2.tags

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
tagsarrayThe key-value tags assigned to the application.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_tags_for_resourceselectregionRetrieves the list of key-value tags assigned to the application. For more information, see Using Tagging.
untag_resourceupdateregion, ResourceARN, TagKeysRemoves one or more tags from a Managed Service for Apache Flink application. For more information, see Using Tagging.
tag_resourceupdateregion, ResourceARNAdds one or more key-value tags to a Managed Service for Apache Flink application. Note that the maximum number of application tags includes system tags. The maximum number of user-defined application tags is 50. For more information, see Using Tagging.

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

Retrieves the list of key-value tags assigned to the application. For more information, see Using Tagging.

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

UPDATE examples

Removes one or more tags from a Managed Service for Apache Flink application. For more information, see Using Tagging.

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