Class: Aws::CloudWatchOmni::Types::AlertEvaluation
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatchOmni::Types::AlertEvaluation
- 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
-
#interval_seconds ⇒ Integer
The interval between evaluations, in seconds.
-
#pending_duration_seconds ⇒ Integer
The duration a breach must persist before the alert fires, in seconds.
-
#recovery_duration_seconds ⇒ Integer
The duration a recovery must persist before the alert clears, in seconds.
Instance Attribute Details
#interval_seconds ⇒ Integer
The interval between evaluations, in seconds.
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_seconds ⇒ Integer
The duration a breach must persist before the alert fires, in seconds.
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_seconds ⇒ Integer
The duration a recovery must persist before the alert clears, in seconds.
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 |