AWS::Connect::Metric MetricCalculation - 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::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, ... ] }

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: 1

Maximum: 1024

Update 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: 1

Maximum: 5

Update requires: No interruption