Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

AWS::LookoutMetrics::AnomalyDetector

Focus mode
AWS::LookoutMetrics::AnomalyDetector - AWS CloudFormation
Filter View

The AWS::LookoutMetrics::AnomalyDetector type creates an anomaly detector.

Syntax

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

JSON

{ "Type" : "AWS::LookoutMetrics::AnomalyDetector", "Properties" : { "AnomalyDetectorConfig" : AnomalyDetectorConfig, "AnomalyDetectorDescription" : String, "AnomalyDetectorName" : String, "KmsKeyArn" : String, "MetricSetList" : [ MetricSet, ... ] } }

YAML

Type: AWS::LookoutMetrics::AnomalyDetector Properties: AnomalyDetectorConfig: AnomalyDetectorConfig AnomalyDetectorDescription: String AnomalyDetectorName: String KmsKeyArn: String MetricSetList: - MetricSet

Properties

AnomalyDetectorConfig

Contains information about the configuration of the anomaly detector.

Required: Yes

Type: AnomalyDetectorConfig

Update requires: No interruption

AnomalyDetectorDescription

A description of the detector.

Required: No

Type: String

Pattern: .*\S.*

Maximum: 256

Update requires: No interruption

AnomalyDetectorName

The name of the detector.

Required: No

Type: String

Pattern: ^[a-zA-Z0-9][a-zA-Z0-9\-_]*

Minimum: 1

Maximum: 63

Update requires: Replacement

KmsKeyArn

The ARN of the KMS key to use to encrypt your data.

Required: No

Type: String

Pattern: arn:aws.*:kms:.*:[0-9]{12}:key/.*

Minimum: 20

Maximum: 2048

Update requires: No interruption

MetricSetList

The detector's dataset.

Required: Yes

Type: Array of MetricSet

Minimum: 1

Maximum: 1

Update requires: No interruption

Return values

Ref

When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the resource name.

For more information about using the Ref function, see Ref.

Fn::GetAtt

The Fn::GetAtt intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the Fn::GetAtt intrinsic function, see Fn::GetAtt.

Arn

The Amazon Resource Name (ARN) of the detector. For example, arn:aws:lookoutmetrics:us-east-2:123456789012:AnomalyDetector:my-detector

On this page

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.