Skip to main content

tags

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

Overview

Nametags
TypeResource
Idaws.mwaa_serverless.tags

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
tagsobjectA map of tags that are associated with the resource, where each tag consists of a key-value pair.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_tags_for_resourceselectregionLists all tags that are associated with a specified Amazon Managed Workflows for Apache Airflow Serverless resource.
untag_resourceupdateregion, ResourceArn, TagKeysRemoves tags from an Amazon Managed Workflows for Apache Airflow Serverless resource. This operation removes the specified tags from the resource.
tag_resourceupdateregion, ResourceArnAdds tags to an Amazon Managed Workflows for Apache Airflow Serverless resource. Tags are key-value pairs that help you organize and categorize your resources.

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

Lists all tags that are associated with a specified Amazon Managed Workflows for Apache Airflow Serverless resource.

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

UPDATE examples

Removes tags from an Amazon Managed Workflows for Apache Airflow Serverless resource. This operation removes the specified tags from the resource.

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