MetricValue - Amazon IoT
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).

MetricValue

The value to be compared with the metric.

Contents

cidrs

If the comparisonOperator calls for a set of CIDRs, use this to specify that set to be compared with the metric.

Type: Array of strings

Length Constraints: Minimum length of 2. Maximum length of 43.

Pattern: [a-fA-F0-9:\.\/]+

Required: No

count

If the comparisonOperator calls for a numeric value, use this to specify that numeric value to be compared with the metric.

Type: Long

Valid Range: Minimum value of 0.

Required: No

number

The numeral value of a metric.

Type: Double

Required: No

numbers

The numeral values of a metric.

Type: Array of doubles

Required: No

ports

If the comparisonOperator calls for a set of ports, use this to specify that set to be compared with the metric.

Type: Array of integers

Valid Range: Minimum value of 0. Maximum value of 65535.

Required: No

strings

The string values of a metric.

Type: Array of strings

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: