Skip to main content

tags

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

Overview

Nametags
TypeResource
Idaws.signer.tags

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
tagsobjectA list of tags associated with the signing profile.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_tags_for_resourceselectresource_arn, regionReturns a list of the tags associated with a signing profile resource.
tag_resourceupdateresource_arn, region, tagsAdds one or more tags to a signing profile. Tags are labels that you can use to identify and organize your AWS resources. Each tag consists of a key and an optional value. To specify the signing profile, use its Amazon Resource Name (ARN). To specify the tag, use a key-value pair.
untag_resourceupdateresource_arn, tagKeys, regionRemoves one or more tags from a signing profile. To remove the tags, specify a list of tag keys.

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) for the signing profile.
tagKeysarrayA list of tag keys to be removed from the signing profile.

SELECT examples

Returns a list of the tags associated with a signing profile resource.

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

UPDATE examples

Adds one or more tags to a signing profile. Tags are labels that you can use to identify and organize your AWS resources. Each tag consists of a key and an optional value. To specify the signing profile, use its Amazon Resource Name (ARN). To specify the tag, use a key-value pair.

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