MetricCalculation
Contains the formula and component metrics that define a custom metric calculation.
Contents
- Calculation
-
The formula expression that defines how the metric is calculated. Uses component aliases (for example,
100 * SUM(M1) / SUM(M2)).Type: String
Length Constraints: Minimum length of 1. Maximum length of 1024.
Required: Yes
- CalculationComponents
-
The list of component metrics referenced in the calculation formula. Each component has an alias used in the formula expression.
Type: Array of CalculationComponent objects
Array Members: Minimum number of 1 item. Maximum number of 5 items.
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: