Skip to main content

asset_tags

Expands all tag keys and values for assets in a region

Overview

Nameasset_tags
TypeResource
DescriptionResource schema for AWS::IoTSiteWise::Asset
Idaws.iotsitewise.asset_tags

Fields

NameDatatypeDescription
asset_idstringThe ID of the asset
asset_external_idstringThe External ID of the asset
asset_model_idstringThe ID of the asset model from which to create the asset.
asset_arnstringThe ARN of the asset
asset_namestringA unique, friendly name for the asset.
asset_descriptionstringA description for the asset
asset_propertiesarray
asset_hierarchiesarray
tag_keystringTag key.
tag_valuestringTag value.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Expands tags for all assets in a region.

SELECT
region,
asset_id,
asset_external_id,
asset_model_id,
asset_arn,
asset_name,
asset_description,
asset_properties,
asset_hierarchies,
tag_key,
tag_value
FROM aws.iotsitewise.asset_tags
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the asset_tags resource, see assets