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

Class: Aws::Budgets::Types::NotificationWithSubscribers

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

Overview

Note:

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

{
  notification: { # required
    notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
    comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
    threshold: 1.0, # required
    threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
    notification_state: "OK", # accepts OK, ALARM
  },
  subscribers: [ # required
    {
      subscription_type: "SNS", # required, accepts SNS, EMAIL
      address: "SubscriberAddress", # required
    },
  ],
}

A notification with subscribers. A notification can have one SNS subscriber and up to 10 email subscribers, for a total of 11 subscribers.

Instance Attribute Summary collapse

Instance Attribute Details

#notificationTypes::Notification

The notification that is associated with a budget.

Returns:

#subscribersArray<Types::Subscriber>

A list of subscribers who are subscribed to this notification.

Returns:

  • (Array<Types::Subscriber>)

    A list of subscribers who are subscribed to this notification.