Skip to main content

fleet_metric_tags

Expands all tag keys and values for fleet_metrics in a region

Overview

Namefleet_metric_tags
TypeResource
DescriptionAn aggregated metric of certain devices in your fleet
Idaws.iot.fleet_metric_tags

Fields

NameDatatypeDescription
metric_namestringThe name of the fleet metric
descriptionstringThe description of a fleet metric
query_stringstringThe Fleet Indexing query used by a fleet metric
periodintegerThe period of metric emission in seconds
aggregation_fieldstringThe aggregation field to perform aggregation and metric emission
query_versionstringThe version of a Fleet Indexing query used by a fleet metric
index_namestringThe index name of a fleet metric
unitstringThe unit of data points emitted by a fleet metric
aggregation_typeobjectAggregation types supported by Fleet Indexing
metric_arnstringThe Amazon Resource Number (ARN) of a fleet metric metric
creation_datestringThe creation date of a fleet metric
last_modified_datestringThe last modified date of a fleet metric
versionnumberThe version of a fleet metric
tag_keystringTag key.
tag_valuestringTag value.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Expands tags for all fleet_metrics in a region.

SELECT
region,
metric_name,
description,
query_string,
period,
aggregation_field,
query_version,
index_name,
unit,
aggregation_type,
metric_arn,
creation_date,
last_modified_date,
version,
tag_key,
tag_value
FROM aws.iot.fleet_metric_tags
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the fleet_metric_tags resource, see fleet_metrics