View a markdown version of this page

AWS::Connect::Metric MetricCalculation - Amazon CloudFormation
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).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon 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 Amazon 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