AWS::Logs::LogAnomalyDetectorThe AWS::Logs::LogAnomalyDetector resource specifies a CloudWatch Logs LogAnomalyDetector.
7 configurable properties. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
AccountId | string | Write-only |
AnomalyVisibilityTime | number | |
DetectorName | string | |
EvaluationFrequency | string | |
FilterPattern | string | |
KmsKeyId | string | |
LogGroupArnList | Array<string> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
AnomalyDetectorArn | string | ARN of LogAnomalyDetector |
AnomalyDetectorStatus | string | Current status of detector. |
CreationTimeStamp | number | When detector was created. |
LastModifiedTimeStamp | number | When detector was lsat modified. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Logs::LogAnomalyDetector
Resources:
MyResource:
Type: AWS::Logs::LogAnomalyDetector
Properties:Permissions CloudFormation needs in your IAM role to manage this resource.
logs:CreateLogAnomalyDetectorlogs:GetLogAnomalyDetectorlogs:UpdateLogAnomalyDetectorlogs:DeleteLogAnomalyDetectorlogs:ListLogAnomalyDetectorsOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterAnomalyDetectorArn