Skip to main content

tags

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

Overview

Nametags
TypeResource
Idaws.appflow.tags

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
tagsobjectThe tags used to organize, track, or control access for your flow.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_tags_for_resourceselectresource_arn, regionRetrieves the tags that are associated with a specified flow.
tag_resourceupdateresource_arn, region, tagsApplies a tag to the specified flow.
untag_resourceupdateresource_arn, tagKeys, regionRemoves a tag from the specified flow.

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)
resource_arnstringThe Amazon Resource Name (ARN) of the flow that you want to untag.
tagKeysarrayThe tag keys associated with the tag that you want to remove from your flow.

SELECT examples

Retrieves the tags that are associated with a specified flow.

SELECT
tags
FROM aws.appflow.tags
WHERE resource_arn = '{{ resource_arn }}' -- required
AND region = '{{ region }}' -- required
;

UPDATE examples

Applies a tag to the specified flow.

UPDATE aws.appflow.tags
SET
tags = '{{ tags }}'
WHERE
resource_arn = '{{ resource_arn }}' --required
AND region = '{{ region }}' --required
AND tags = '{{ tags }}' --required;