Skip to main content

custom_metrics

Retrieves a list of custom_metrics in a region

Overview

Namecustom_metrics
TypeResource
Descriptioncustom_metrics
Idawscc.iot.custom_metrics

Fields

NameDatatypeDescription
metric_namestringThe name of the custom metric. This will be used in the metric report submitted from the device/thing. Shouldn't begin with aws: . Cannot be updated once defined.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
metric_name
FROM awscc.iot.custom_metrics
WHERE region = 'us-east-1'

Permissions

To operate on the custom_metrics resource, the following permissions are required:

Create

iot:CreateCustomMetric,
iot:TagResource

List

iot:ListCustomMetrics