Type object
Schema URL https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-iot-custommetric.json
Parent schema serverless-framework-configuration
Type: object

A custom metric published by your devices to Device Defender.. Source:- https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-iot.git

Properties

MetricType string | Aws_CF_FunctionString required

The type of the custom metric. Types include string-list, ip-address-list, number-list, and number.

MetricName string | Aws_CF_FunctionString

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.

DisplayName string | Aws_CF_FunctionString

Field represents a friendly name in the console for the custom metric; it doesn't have to be unique. Don't use this name as the metric identifier in the device metric report. Can be updated once defined.

Tags Tag[]

An array of key-value pairs to apply to this resource.

maxItems=50uniqueItems=true

Definitions

Tag object

A key-value pair to associate with a resource.

Key string | Aws_CF_FunctionString required

The tag's key.

Value string | Aws_CF_FunctionString required

The tag's value.