Skip to main content

tags

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

Overview

Nametags
TypeResource
Idaws.lambda_microvms.tags

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
tagsobjectThe key-value pairs of tags associated with the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_tagsselectresource, regionLists the tags associated with a Lambda MicroVM resource.
untag_resourceupdateresource, tagKeys, regionRemoves tags from a Lambda MicroVM resource.
tag_resourceupdateresource, regionAdds tags to a Lambda MicroVM resource.

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)
resourcestringThe ARN of the resource to tag.
tagKeysarrayThe list of tag keys to remove from the resource.

SELECT examples

Lists the tags associated with a Lambda MicroVM resource.

SELECT
tags
FROM aws.lambda_microvms.tags
WHERE resource = '{{ resource }}' -- required
AND region = '{{ region }}' -- required
;

UPDATE examples

Removes tags from a Lambda MicroVM resource.

UPDATE aws.lambda_microvms.tags
SET
-- No updatable properties
WHERE
resource = '{{ resource }}' --required
AND tagKeys = '{{ tagKeys }}' --required
AND region = '{{ region }}' --required;