AWS::IoT::SecurityProfile MetricToRetain - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::IoT::SecurityProfile MetricToRetain

The metric you want to retain. Dimensions are optional.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "ExportMetric" : Boolean, "Metric" : String, "MetricDimension" : MetricDimension }

Properties

ExportMetric

The value indicates exporting metrics related to the MetricToRetain when it's true.

Required: No

Type: Boolean

Update requires: No interruption

Metric

A standard of measurement.

Required: Yes

Type: String

Pattern: [a-zA-Z0-9:_-]+

Minimum: 1

Maximum: 128

Update requires: No interruption

MetricDimension

The dimension of the metric.

Required: No

Type: MetricDimension

Update requires: No interruption