custom_metrics
Retrieves a list of custom_metrics
in a region
Overview
Name | custom_metrics |
Type | Resource |
Description | custom_metrics |
Id | awscc.iot.custom_metrics |
Fields
Name | Datatype | Description |
---|---|---|
metric_name | string | The 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. |
region | string | AWS 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