Class: Aws::CloudWatchOmni::Types::AlertEvaluation

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

Overview

Evaluation cadence. intervalSeconds must be one of 60, 120, 300, 600, 900, 1800, 3600; pendingDurationSeconds and recoveryDurationSeconds must be multiples of intervalSeconds. A duration of 0 means fire/clear immediately with no delay.

On UpdateAlert a supplied evaluation block is replaced whole, not merged: an omitted pendingDurationSeconds or recoveryDurationSeconds is cleared to unset (no such duration), not preserved and not defaulted to 0. intervalSeconds is required whenever the block is present. All enforced server-side / by the front-door validator.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#interval_secondsInteger

The interval between evaluations, in seconds.

Returns:

  • (Integer)


454
455
456
457
458
459
460
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 454

class AlertEvaluation < Struct.new(
  :interval_seconds,
  :pending_duration_seconds,
  :recovery_duration_seconds)
  SENSITIVE = []
  include Aws::Structure
end

#pending_duration_secondsInteger

The duration a breach must persist before the alert fires, in seconds.

Returns:

  • (Integer)


454
455
456
457
458
459
460
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 454

class AlertEvaluation < Struct.new(
  :interval_seconds,
  :pending_duration_seconds,
  :recovery_duration_seconds)
  SENSITIVE = []
  include Aws::Structure
end

#recovery_duration_secondsInteger

The duration a recovery must persist before the alert clears, in seconds.

Returns:

  • (Integer)


454
455
456
457
458
459
460
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 454

class AlertEvaluation < Struct.new(
  :interval_seconds,
  :pending_duration_seconds,
  :recovery_duration_seconds)
  SENSITIVE = []
  include Aws::Structure
end