AWS::CloudWatch::AnomalyDetector

CloudWatch AnomalyDetector

Resource Type definition for AWS::CloudWatch::AnomalyDetector

Properties

8 configurable properties. Click a row to see details.

Filter:
PropertyTypeFlags
Configuration
MetricConfiguration
Dimensions
Array<Dimension>
Create-only
MetricCharacteristics
MetricCharacteristics
Create-only
MetricMathAnomalyDetector
MetricMathAnomalyDetector
Create-only
MetricName
string
Create-only
Namespace
string
Create-only
SingleMetricAnomalyDetector
SingleMetricAnomalyDetector
Create-only
Stat
string
Create-only

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
AnomalyDetectorIdstring-

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::CloudWatch::AnomalyDetector

Resources:
  MyResource:
    Type: AWS::CloudWatch::AnomalyDetector
    Properties:

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

cloudwatch:PutAnomalyDetectorcloudwatch:DescribeAnomalyDetectors

read

cloudwatch:DescribeAnomalyDetectors

update

cloudwatch:PutAnomalyDetectorcloudwatch:DescribeAnomalyDetectors

delete

cloudwatch:DeleteAnomalyDetectorcloudwatch:DescribeAnomalyDetectors

list

cloudwatch:DescribeAnomalyDetectors

Get the CloudWatch Cheat Sheet

Everything you need to know about CloudWatch on one page. HD quality, print-friendly.

Download Free Infographic

Quick Facts

ServiceCloudWatch
Properties9
Required0
TaggingNot supported
Primary IDAnomalyDetectorId

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

DimensionsMetricCharacteristicsMetricNameNamespaceSingleMetricAnomalyDetectorMetricMathAnomalyDetectorStat

External Links