View a markdown version of this page

AWS::Connect::Metric MetricCalculation - AWS CloudFormation

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