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

Class: Aws::Budgets::Types::Subscriber

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

Overview

Note:

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

{
  subscription_type: "SNS", # required, accepts SNS, EMAIL
  address: "SubscriberAddress", # required
}

The subscriber to a budget notification. The subscriber consists of a subscription type and either an Amazon Simple Notification Service topic or an email address.

For example, an email subscriber would have the following parameters:

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#addressString

The address that AWS sends budget notifications to, either an SNS topic or an email.

Returns:

  • (String)

    The address that AWS sends budget notifications to, either an SNS topic or an email.

#subscription_typeString

The type of notification that AWS sends to a subscriber.

Possible values:

  • SNS
  • EMAIL

Returns:

  • (String)

    The type of notification that AWS sends to a subscriber.