class Aws::CostExplorer::Types::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.

@note When making an API call, you may pass AnomalySubscription

data as a hash:

    {
      subscription_arn: "GenericString",
      account_id: "GenericString",
      monitor_arn_list: ["Arn"], # required
      subscribers: [ # required
        {
          address: "SubscriberAddress",
          type: "EMAIL", # accepts EMAIL, SNS
          status: "CONFIRMED", # accepts CONFIRMED, DECLINED
        },
      ],
      threshold: 1.0, # required
      frequency: "DAILY", # required, accepts DAILY, IMMEDIATE, WEEKLY
      subscription_name: "GenericString", # required
    }

@!attribute [rw] subscription_arn

The `AnomalySubscription` Amazon Resource Name (ARN).
@return [String]

@!attribute [rw] account_id

Your unique account identifier.
@return [String]

@!attribute [rw] monitor_arn_list

A list of cost anomaly monitors.
@return [Array<String>]

@!attribute [rw] subscribers

A list of subscribers to notify.
@return [Array<Types::Subscriber>]

@!attribute [rw] threshold

The dollar value that triggers a notification if the threshold is
exceeded.
@return [Float]

@!attribute [rw] frequency

The frequency that anomaly reports are sent over email.
@return [String]

@!attribute [rw] subscription_name

The name for the subscription.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/AnomalySubscription AWS API Documentation

Constants

SENSITIVE