Class: Aws::SSMIncidents::Types::Condition
- Inherits:
-
Struct
- Object
- Struct
- Aws::SSMIncidents::Types::Condition
- Defined in:
- gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/types.rb
Overview
Note:
Condition is a union - when making an API calls you must set exactly one of the members.
A conditional statement with which to compare a value, after a
timestamp, before a timestamp, or equal to a string or integer. If
multiple conditions are specified, the conditionals become an AND
ed
statement. If multiple values are specified for a conditional, the
values are OR
d.
Defined Under Namespace
Classes: After, Before, Equals, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#after ⇒ Time
After the specified timestamp.
-
#before ⇒ Time
Before the specified timestamp.
-
#equals ⇒ Types::AttributeValueList
The value is equal to the provided string or integer.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#after ⇒ Time
After the specified timestamp.
298 299 300 301 302 303 304 305 306 307 308 309 310 311 |
# File 'gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/types.rb', line 298 class Condition < Struct.new( :after, :before, :equals, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class After < Condition; end class Before < Condition; end class Equals < Condition; end class Unknown < Condition; end end |
#before ⇒ Time
Before the specified timestamp
298 299 300 301 302 303 304 305 306 307 308 309 310 311 |
# File 'gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/types.rb', line 298 class Condition < Struct.new( :after, :before, :equals, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class After < Condition; end class Before < Condition; end class Equals < Condition; end class Unknown < Condition; end end |
#equals ⇒ Types::AttributeValueList
The value is equal to the provided string or integer.
298 299 300 301 302 303 304 305 306 307 308 309 310 311 |
# File 'gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/types.rb', line 298 class Condition < Struct.new( :after, :before, :equals, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class After < Condition; end class Before < Condition; end class Equals < Condition; end class Unknown < Condition; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
298 299 300 |
# File 'gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/types.rb', line 298 def unknown @unknown end |