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

Class: Aws::Budgets::Types::Notification

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

Overview

Note:

When making an API call, you may pass Notification data as a hash:

{
  notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
  comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
  threshold: 1.0, # required
}

Notification model. Each budget may contain multiple notifications with different settings.

Instance Attribute Summary collapse

Instance Attribute Details

#comparison_operatorString

The comparison operator of a notification. Currently we support less than, equal to and greater than.

Returns:

  • (String)


682
683
684
685
686
687
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 682

class Notification < Struct.new(
  :notification_type,
  :comparison_operator,
  :threshold)
  include Aws::Structure
end

#notification_typeString

The type of a notification. It should be ACTUAL or FORECASTED.

Returns:

  • (String)


682
683
684
685
686
687
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 682

class Notification < Struct.new(
  :notification_type,
  :comparison_operator,
  :threshold)
  include Aws::Structure
end

#thresholdFloat

The threshold of the a notification. It should be a number between 0 and 100.

Returns:

  • (Float)


682
683
684
685
686
687
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 682

class Notification < Struct.new(
  :notification_type,
  :comparison_operator,
  :threshold)
  include Aws::Structure
end