AnomalySubscription - AWS Billing and Cost Management

AnomalySubscription

The association between a monitor, threshold, and list of subscribers used to deliver notifications about anomalies detected by a monitor that exceeds a threshold. The content consists of the detailed metadata and the current status of the AnomalySubscription object.

Contents

AccountId

Your unique account identifier.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 1024.

Pattern: [\S\s]*

Required: No

Frequency

The frequency that anomaly reports are sent over email.

Type: String

Valid Values: DAILY | IMMEDIATE | WEEKLY

Required: Yes

MonitorArnList

A list of cost anomaly monitors.

Type: Array of strings

Length Constraints: Minimum length of 20. Maximum length of 2048.

Pattern: arn:aws[-a-z0-9]*:[a-z0-9]+:[-a-z0-9]*:[0-9]{12}:[-a-zA-Z0-9/:_]+

Required: Yes

Subscribers

A list of subscribers to notify.

Type: Array of Subscriber objects

Required: Yes

SubscriptionArn

The AnomalySubscription Amazon Resource Name (ARN).

Type: String

Length Constraints: Minimum length of 0. Maximum length of 1024.

Pattern: [\S\s]*

Required: No

SubscriptionName

The name for the subscription.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 1024.

Pattern: [\S\s]*

Required: Yes

Threshold

The dollar value that triggers a notification if the threshold is exceeded.

Type: Double

Valid Range: Minimum value of 0.0.

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: