AWS Fundamentals Logo
AWS Fundamentals
AWS::Logs::LogAnomalyDetector

Logs LogAnomalyDetector

The AWS::Logs::LogAnomalyDetector resource specifies a CloudWatch Logs LogAnomalyDetector.

Properties

7 configurable properties. Click a row to see details.

Filter:
PropertyTypeFlags
AccountId
string
Write-only
AnomalyVisibilityTime
number
DetectorName
string
EvaluationFrequency
string
FilterPattern
string
KmsKeyId
string
LogGroupArnList
Array<string>

Return Values

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

AttributeTypeDescription
AnomalyDetectorArnstringARN of LogAnomalyDetector
AnomalyDetectorStatusstringCurrent status of detector.
CreationTimeStampnumberWhen detector was created.
LastModifiedTimeStampnumberWhen detector was lsat modified.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Logs::LogAnomalyDetector

Resources:
  MyResource:
    Type: AWS::Logs::LogAnomalyDetector
    Properties:

Required IAM Permissions

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

create

logs:CreateLogAnomalyDetector

read

logs:GetLogAnomalyDetector

update

logs:UpdateLogAnomalyDetector

delete

logs:DeleteLogAnomalyDetector

list

logs:ListLogAnomalyDetectors

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceLogs
Properties11
Required0
TaggingNot supported
Primary IDAnomalyDetectorArn

Supported Operations

CreateReadUpdateDeleteList

External Links