Class: Aws::CloudWatchOmni::Types::SloAlertCondition

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

Overview

Note:

SloAlertCondition is a union - when making an API calls you must set exactly one of the members.

Note:

SloAlertCondition is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of SloAlertCondition corresponding to the set member.

The condition of an SLO alert. Exactly one member is set.

Defined Under Namespace

Classes: BurnRate, ErrorBudget, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#burn_rate ⇒ Types::SloBurnRateCondition

Fire on how fast the error budget is being spent.



8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 8640

class SloAlertCondition < Struct.new(
  :burn_rate,
  :error_budget,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class BurnRate < SloAlertCondition; end
  class ErrorBudget < SloAlertCondition; end
  class Unknown < SloAlertCondition; end
end

#error_budget ⇒ Types::SloErrorBudgetCondition

Fire on how much of the error budget has been spent.



8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 8640

class SloAlertCondition < Struct.new(
  :burn_rate,
  :error_budget,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class BurnRate < SloAlertCondition; end
  class ErrorBudget < SloAlertCondition; end
  class Unknown < SloAlertCondition; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



8640
8641
8642
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 8640

def unknown
  @unknown
end