AWS Fundamentals Logo
AWS Fundamentals
AWS::CE::AnomalySubscription

CE AnomalySubscription

AWS Cost Anomaly Detection leverages advanced Machine Learning technologies to identify anomalous spend and root causes, so you can quickly take action. Create subscription to be notified

Properties

7 configurable properties. 4 required. Click a row to see details.

Filter:
PropertyTypeFlags
Frequency
string
Required
MonitorArnList
Array<string>
Required
Subscribers
Array<Subscriber>
Required
SubscriptionName
string
Required
ResourceTags
Array<ResourceTag>
Create-only
Threshold
number
ThresholdExpression
string

Return Values

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

AttributeTypeDescription
AccountIdstringThe accountId
SubscriptionArnstring-

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::CE::AnomalySubscription

Resources:
  MyResource:
    Type: AWS::CE::AnomalySubscription
    Properties:
      MonitorArnList: "arn:aws:service:region:account:resource"
      Subscribers: []
      Frequency: "DAILY"
      SubscriptionName: "my-subscriptionname"

Required IAM Permissions

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

create

ce:CreateAnomalySubscriptionce:TagResource

read

ce:GetAnomalySubscriptionsce:ListTagsForResource

update

ce:UpdateAnomalySubscription

delete

ce:DeleteAnomalySubscription

list

ce:GetAnomalySubscriptions

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

ServiceCE
Properties9
Required4
TaggingSupported
Primary IDSubscriptionArn

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

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

ResourceTags

External Links