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::Connect::Metric MetricCalculation
Contains the formula and component metrics that define a custom metric calculation.
Syntax
To declare this entity in your CloudFormation template, use the following syntax:
JSON
{ "Calculation" :String, "CalculationComponents" :[ CalculationComponent, ... ]}
YAML
Calculation:StringCalculationComponents:- CalculationComponent
Properties
Calculation-
The formula expression that defines how the metric is calculated. Uses component aliases (for example,
100 * SUM(M1) / SUM(M2)).Required: Yes
Type: String
Minimum:
1Maximum:
1024Update requires: No interruption
CalculationComponents-
The list of component metrics referenced in the calculation formula. Each component has an alias used in the formula expression.
Required: Yes
Type: Array of CalculationComponent
Minimum:
1Maximum:
5Update requires: No interruption