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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb

Overview

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

For example, an email subscriber has the following parameters:

  • A subscriptionType of EMAIL

  • An address of example@example.com

Constant Summary collapse

SENSITIVE =
[:address]

Instance Attribute Summary collapse

Instance Attribute Details

#addressString

The address that Amazon Web Services sends budget notifications to, either an SNS topic or an email.

When you create a subscriber, the value of Address can't contain line breaks.

Returns:

  • (String)


1754
1755
1756
1757
1758
1759
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 1754

class Subscriber < Struct.new(
  :subscription_type,
  :address)
  SENSITIVE = [:address]
  include Aws::Structure
end

#subscription_typeString

The type of notification that Amazon Web Services sends to a subscriber.

Returns:

  • (String)


1754
1755
1756
1757
1758
1759
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 1754

class Subscriber < Struct.new(
  :subscription_type,
  :address)
  SENSITIVE = [:address]
  include Aws::Structure
end