AWS::IoT::SecurityProfile MetricToRetain - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::IoT::SecurityProfile MetricToRetain

The metric you want to retain. Dimensions are optional.

Syntax

To declare this entity in your 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