View a markdown version of this page

AWS::Connect::Metric CalculationComponent - 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 CalculationComponent

Represents a component metric referenced in a custom metric calculation formula.

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "Alias" : String, "MetricFilters" : [ MetricFilter, ... ], "MetricId" : String, "MetricName" : String }

YAML

Alias: String MetricFilters: - MetricFilter MetricId: String MetricName: String

Properties

Alias

The alias used to reference this component in the calculation expression.

Required: Yes

Type: String

Pattern: [a-zA-Z_][a-zA-Z0-9_]*

Minimum: 1

Maximum: 128

Update requires: No interruption

MetricFilters

The filters applied to the calculation component.

Required: No

Type: Array of MetricFilter

Minimum: 0

Maximum: 5

Update requires: No interruption

MetricId

The ARN of an AWS-managed metric used in this calculation component. Mutually exclusive with MetricName.

Required: No

Type: String

Minimum: 1

Update requires: No interruption

MetricName

The name of an AWS-managed metric used in this calculation component (for example, CONTACTS_HANDLED). Mutually exclusive with MetricId.

Required: No

Type: String

Minimum: 1

Update requires: No interruption