AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CostExplorer::Types::AnomalySubscription

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing AnomalySubscription as input to an Aws::Client method, you can use a vanilla Hash:

{
  subscription_arn: "GenericString",
  account_id: "GenericString",
  monitor_arn_list: ["Value"], # 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
}

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.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#account_idString

Your unique account identifier.

Returns:

  • (String)

    Your unique account identifier.

#frequencyString

The frequency at which anomaly reports are sent over email.

Possible values:

  • DAILY
  • IMMEDIATE
  • WEEKLY

Returns:

  • (String)

    The frequency at which anomaly reports are sent over email.

#monitor_arn_listArray<String>

A list of cost anomaly monitors.

Returns:

  • (Array<String>)

    A list of cost anomaly monitors.

#subscribersArray<Types::Subscriber>

A list of subscribers to notify.

Returns:

#subscription_arnString

The AnomalySubscription Amazon Resource Name (ARN).

Returns:

  • (String)

    The AnomalySubscription Amazon Resource Name (ARN).

#subscription_nameString

The name for the subscription.

Returns:

  • (String)

    The name for the subscription.

#thresholdFloat

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

Returns:

  • (Float)

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