Class: Aws::CloudWatchOmni::Types::ExperimentRule
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatchOmni::Types::ExperimentRule
- Defined in:
- gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb
Overview
The pass criteria for a run, set on StartExperimentRun or on the PutExperimentRunResults call that creates the run.
A case passes when every case criterion holds; the run passes when every gate holds.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#case_criteria ⇒ Array<Types::CaseCriterion>
The conditions each case must meet to pass, up to 20.
-
#content_hash ⇒ String
A SHA-256 hash of the rule's caseCriteria and gates, in the form sha256:<64 hex digits>.
-
#gates ⇒ Array<Types::RunGate>
The run-level checks the run must meet to pass, from 1 to 20.
-
#name ⇒ String
The name of the rule, from 1 to 256 characters.
-
#source ⇒ String
The origin of the rule.
Instance Attribute Details
#case_criteria ⇒ Array<Types::CaseCriterion>
The conditions each case must meet to pass, up to 20. May be empty when the rule gates only on run-level metrics.
3590 3591 3592 3593 3594 3595 3596 3597 3598 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 3590 class ExperimentRule < Struct.new( :source, :name, :case_criteria, :gates, :content_hash) SENSITIVE = [] include Aws::Structure end |
#content_hash ⇒ String
A SHA-256 hash of the rule's caseCriteria and gates, in the form sha256:<64 hex digits>. Output only; ignored on input. Member order and explicit default values do not affect the hash; list order does.
3590 3591 3592 3593 3594 3595 3596 3597 3598 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 3590 class ExperimentRule < Struct.new( :source, :name, :case_criteria, :gates, :content_hash) SENSITIVE = [] include Aws::Structure end |
#gates ⇒ Array<Types::RunGate>
The run-level checks the run must meet to pass, from 1 to 20.
3590 3591 3592 3593 3594 3595 3596 3597 3598 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 3590 class ExperimentRule < Struct.new( :source, :name, :case_criteria, :gates, :content_hash) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name of the rule, from 1 to 256 characters.
3590 3591 3592 3593 3594 3595 3596 3597 3598 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 3590 class ExperimentRule < Struct.new( :source, :name, :case_criteria, :gates, :content_hash) SENSITIVE = [] include Aws::Structure end |
#source ⇒ String
The origin of the rule. Informational only; it does not change how the rule is applied.
3590 3591 3592 3593 3594 3595 3596 3597 3598 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 3590 class ExperimentRule < Struct.new( :source, :name, :case_criteria, :gates, :content_hash) SENSITIVE = [] include Aws::Structure end |