Class: AWSCDK::StepFunctions::Condition
- Inherits:
-
Jsii::Object
- Object
- Jsii::Object
- AWSCDK::StepFunctions::Condition
- Defined in:
- step_functions/condition.rb
Overview
A Condition for use in a Choice state branch.
Class Method Summary collapse
-
._and(*conditions) ⇒ AWSCDK::StepFunctions::Condition
Combine two or more conditions with a logical AND.
-
._not(condition) ⇒ AWSCDK::StepFunctions::Condition
Negate a condition.
-
._or(*conditions) ⇒ AWSCDK::StepFunctions::Condition
Combine two or more conditions with a logical OR.
-
.boolean_equals(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a boolean field has the given value.
-
.boolean_equals_json_path(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a boolean field equals to a value at a given mapping path.
-
.is_boolean(variable) ⇒ AWSCDK::StepFunctions::Condition
Matches if variable is boolean.
-
.is_not_boolean(variable) ⇒ AWSCDK::StepFunctions::Condition
Matches if variable is not boolean.
-
.is_not_null(variable) ⇒ AWSCDK::StepFunctions::Condition
Matches if variable is not null.
-
.is_not_numeric(variable) ⇒ AWSCDK::StepFunctions::Condition
Matches if variable is not numeric.
-
.is_not_present(variable) ⇒ AWSCDK::StepFunctions::Condition
Matches if variable is not present.
-
.is_not_string(variable) ⇒ AWSCDK::StepFunctions::Condition
Matches if variable is not a string.
-
.is_not_timestamp(variable) ⇒ AWSCDK::StepFunctions::Condition
Matches if variable is not a timestamp.
-
.is_null(variable) ⇒ AWSCDK::StepFunctions::Condition
Matches if variable is Null.
-
.is_numeric(variable) ⇒ AWSCDK::StepFunctions::Condition
Matches if variable is numeric.
-
.is_present(variable) ⇒ AWSCDK::StepFunctions::Condition
Matches if variable is present.
-
.is_string(variable) ⇒ AWSCDK::StepFunctions::Condition
Matches if variable is a string.
-
.is_timestamp(variable) ⇒ AWSCDK::StepFunctions::Condition
Matches if variable is a timestamp.
- .jsii_overridable_methods ⇒ Object
-
.jsonata(condition) ⇒ AWSCDK::StepFunctions::Condition
JSONata expression condition.
-
.number_equals(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a numeric field has the given value.
-
.number_equals_json_path(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a numeric field has the value in a given mapping path.
-
.number_greater_than(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a numeric field is greater than the given value.
-
.number_greater_than_equals(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a numeric field is greater than or equal to the given value.
-
.number_greater_than_equals_json_path(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a numeric field is greater than or equal to the value at a given mapping path.
-
.number_greater_than_json_path(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a numeric field is greater than the value at a given mapping path.
-
.number_less_than(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a numeric field is less than the given value.
-
.number_less_than_equals(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a numeric field is less than or equal to the given value.
-
.number_less_than_equals_json_path(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a numeric field is less than or equal to the numeric value at given mapping path.
-
.number_less_than_json_path(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a numeric field is less than the value at the given mapping path.
-
.string_equals(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a string field has the given value.
-
.string_equals_json_path(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a string field equals to a value at a given mapping path.
-
.string_greater_than(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a string field sorts after a given value.
-
.string_greater_than_equals(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a string field sorts after or equal to a given value.
-
.string_greater_than_equals_json_path(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a string field sorts after or equal to value at a given mapping path.
-
.string_greater_than_json_path(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a string field sorts after a value at a given mapping path.
-
.string_less_than(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a string field sorts before a given value.
-
.string_less_than_equals(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a string field sorts equal to or before a given value.
-
.string_less_than_equals_json_path(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a string field sorts equal to or before a given mapping.
-
.string_less_than_json_path(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a string field sorts before a given value at a particular mapping.
-
.string_matches(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a field matches a string pattern that can contain a wild card () e.g: log-.txt or LATEST.
-
.timestamp_equals(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a timestamp field is the same time as the given timestamp.
-
.timestamp_equals_json_path(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a timestamp field is the same time as the timestamp at a given mapping path.
-
.timestamp_greater_than(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a timestamp field is after the given timestamp.
-
.timestamp_greater_than_equals(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a timestamp field is after or equal to the given timestamp.
-
.timestamp_greater_than_equals_json_path(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a timestamp field is after or equal to the timestamp at a given mapping path.
-
.timestamp_greater_than_json_path(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a timestamp field is after the timestamp at a given mapping path.
-
.timestamp_less_than(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a timestamp field is before the given timestamp.
-
.timestamp_less_than_equals(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a timestamp field is before or equal to the given timestamp.
-
.timestamp_less_than_equals_json_path(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a timestamp field is before or equal to the timestamp at a given mapping path.
-
.timestamp_less_than_json_path(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a timestamp field is before the timestamp at a given mapping path.
Instance Method Summary collapse
-
#initialize ⇒ Condition
constructor
A new instance of Condition.
-
#render_condition ⇒ Object
Render Amazon States Language JSON for the condition.
Constructor Details
#initialize ⇒ Condition
Returns a new instance of Condition.
8 9 10 |
# File 'step_functions/condition.rb', line 8 def initialize Jsii::Object.instance_method(:initialize).bind(self).call end |
Class Method Details
._and(*conditions) ⇒ AWSCDK::StepFunctions::Condition
Combine two or more conditions with a logical AND.
22 23 24 25 26 27 |
# File 'step_functions/condition.rb', line 22 def self._and(*conditions) conditions.each_with_index do |item, index| Jsii::Type.check_type(item, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9ucy5Db25kaXRpb24ifQ==")), "conditions[#{index}]") end Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "and", [*conditions]) end |
._not(condition) ⇒ AWSCDK::StepFunctions::Condition
Negate a condition.
172 173 174 175 |
# File 'step_functions/condition.rb', line 172 def self._not(condition) Jsii::Type.check_type(condition, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9ucy5Db25kaXRpb24ifQ==")), "condition") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "not", [condition]) end |
._or(*conditions) ⇒ AWSCDK::StepFunctions::Condition
Combine two or more conditions with a logical OR.
291 292 293 294 295 296 |
# File 'step_functions/condition.rb', line 291 def self._or(*conditions) conditions.each_with_index do |item, index| Jsii::Type.check_type(item, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9ucy5Db25kaXRpb24ifQ==")), "conditions[#{index}]") end Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "or", [*conditions]) end |
.boolean_equals(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a boolean field has the given value.
34 35 36 37 38 |
# File 'step_functions/condition.rb', line 34 def self.boolean_equals(variable, value) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJib29sZWFuIn0=")), "value") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "booleanEquals", [variable, value]) end |
.boolean_equals_json_path(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a boolean field equals to a value at a given mapping path.
45 46 47 48 49 |
# File 'step_functions/condition.rb', line 45 def self.boolean_equals_json_path(variable, value) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "booleanEqualsJsonPath", [variable, value]) end |
.is_boolean(variable) ⇒ AWSCDK::StepFunctions::Condition
Matches if variable is boolean.
55 56 57 58 |
# File 'step_functions/condition.rb', line 55 def self.is_boolean(variable) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "isBoolean", [variable]) end |
.is_not_boolean(variable) ⇒ AWSCDK::StepFunctions::Condition
Matches if variable is not boolean.
64 65 66 67 |
# File 'step_functions/condition.rb', line 64 def self.is_not_boolean(variable) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "isNotBoolean", [variable]) end |
.is_not_null(variable) ⇒ AWSCDK::StepFunctions::Condition
Matches if variable is not null.
73 74 75 76 |
# File 'step_functions/condition.rb', line 73 def self.is_not_null(variable) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "isNotNull", [variable]) end |
.is_not_numeric(variable) ⇒ AWSCDK::StepFunctions::Condition
Matches if variable is not numeric.
82 83 84 85 |
# File 'step_functions/condition.rb', line 82 def self.is_not_numeric(variable) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "isNotNumeric", [variable]) end |
.is_not_present(variable) ⇒ AWSCDK::StepFunctions::Condition
Matches if variable is not present.
91 92 93 94 |
# File 'step_functions/condition.rb', line 91 def self.is_not_present(variable) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "isNotPresent", [variable]) end |
.is_not_string(variable) ⇒ AWSCDK::StepFunctions::Condition
Matches if variable is not a string.
100 101 102 103 |
# File 'step_functions/condition.rb', line 100 def self.is_not_string(variable) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "isNotString", [variable]) end |
.is_not_timestamp(variable) ⇒ AWSCDK::StepFunctions::Condition
Matches if variable is not a timestamp.
109 110 111 112 |
# File 'step_functions/condition.rb', line 109 def self.(variable) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "isNotTimestamp", [variable]) end |
.is_null(variable) ⇒ AWSCDK::StepFunctions::Condition
Matches if variable is Null.
118 119 120 121 |
# File 'step_functions/condition.rb', line 118 def self.is_null(variable) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "isNull", [variable]) end |
.is_numeric(variable) ⇒ AWSCDK::StepFunctions::Condition
Matches if variable is numeric.
127 128 129 130 |
# File 'step_functions/condition.rb', line 127 def self.is_numeric(variable) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "isNumeric", [variable]) end |
.is_present(variable) ⇒ AWSCDK::StepFunctions::Condition
Matches if variable is present.
136 137 138 139 |
# File 'step_functions/condition.rb', line 136 def self.is_present(variable) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "isPresent", [variable]) end |
.is_string(variable) ⇒ AWSCDK::StepFunctions::Condition
Matches if variable is a string.
145 146 147 148 |
# File 'step_functions/condition.rb', line 145 def self.is_string(variable) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "isString", [variable]) end |
.is_timestamp(variable) ⇒ AWSCDK::StepFunctions::Condition
Matches if variable is a timestamp.
154 155 156 157 |
# File 'step_functions/condition.rb', line 154 def self.(variable) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "isTimestamp", [variable]) end |
.jsii_overridable_methods ⇒ Object
12 13 14 15 16 |
# File 'step_functions/condition.rb', line 12 def self.jsii_overridable_methods { :render_condition => { kind: :method, name: "renderCondition", is_optional: false }, } end |
.jsonata(condition) ⇒ AWSCDK::StepFunctions::Condition
JSONata expression condition.
163 164 165 166 |
# File 'step_functions/condition.rb', line 163 def self.jsonata(condition) Jsii::Type.check_type(condition, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "condition") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "jsonata", [condition]) end |
.number_equals(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a numeric field has the given value.
182 183 184 185 186 |
# File 'step_functions/condition.rb', line 182 def self.number_equals(variable, value) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "value") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "numberEquals", [variable, value]) end |
.number_equals_json_path(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a numeric field has the value in a given mapping path.
193 194 195 196 197 |
# File 'step_functions/condition.rb', line 193 def self.number_equals_json_path(variable, value) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "numberEqualsJsonPath", [variable, value]) end |
.number_greater_than(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a numeric field is greater than the given value.
204 205 206 207 208 |
# File 'step_functions/condition.rb', line 204 def self.number_greater_than(variable, value) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "value") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "numberGreaterThan", [variable, value]) end |
.number_greater_than_equals(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a numeric field is greater than or equal to the given value.
215 216 217 218 219 |
# File 'step_functions/condition.rb', line 215 def self.number_greater_than_equals(variable, value) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "value") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "numberGreaterThanEquals", [variable, value]) end |
.number_greater_than_equals_json_path(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a numeric field is greater than or equal to the value at a given mapping path.
226 227 228 229 230 |
# File 'step_functions/condition.rb', line 226 def self.number_greater_than_equals_json_path(variable, value) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "numberGreaterThanEqualsJsonPath", [variable, value]) end |
.number_greater_than_json_path(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a numeric field is greater than the value at a given mapping path.
237 238 239 240 241 |
# File 'step_functions/condition.rb', line 237 def self.number_greater_than_json_path(variable, value) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "numberGreaterThanJsonPath", [variable, value]) end |
.number_less_than(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a numeric field is less than the given value.
248 249 250 251 252 |
# File 'step_functions/condition.rb', line 248 def self.number_less_than(variable, value) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "value") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "numberLessThan", [variable, value]) end |
.number_less_than_equals(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a numeric field is less than or equal to the given value.
259 260 261 262 263 |
# File 'step_functions/condition.rb', line 259 def self.number_less_than_equals(variable, value) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "value") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "numberLessThanEquals", [variable, value]) end |
.number_less_than_equals_json_path(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a numeric field is less than or equal to the numeric value at given mapping path.
270 271 272 273 274 |
# File 'step_functions/condition.rb', line 270 def self.number_less_than_equals_json_path(variable, value) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "numberLessThanEqualsJsonPath", [variable, value]) end |
.number_less_than_json_path(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a numeric field is less than the value at the given mapping path.
281 282 283 284 285 |
# File 'step_functions/condition.rb', line 281 def self.number_less_than_json_path(variable, value) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "numberLessThanJsonPath", [variable, value]) end |
.string_equals(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a string field has the given value.
303 304 305 306 307 |
# File 'step_functions/condition.rb', line 303 def self.string_equals(variable, value) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "stringEquals", [variable, value]) end |
.string_equals_json_path(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a string field equals to a value at a given mapping path.
314 315 316 317 318 |
# File 'step_functions/condition.rb', line 314 def self.string_equals_json_path(variable, value) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "stringEqualsJsonPath", [variable, value]) end |
.string_greater_than(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a string field sorts after a given value.
325 326 327 328 329 |
# File 'step_functions/condition.rb', line 325 def self.string_greater_than(variable, value) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "stringGreaterThan", [variable, value]) end |
.string_greater_than_equals(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a string field sorts after or equal to a given value.
336 337 338 339 340 |
# File 'step_functions/condition.rb', line 336 def self.string_greater_than_equals(variable, value) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "stringGreaterThanEquals", [variable, value]) end |
.string_greater_than_equals_json_path(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a string field sorts after or equal to value at a given mapping path.
347 348 349 350 351 |
# File 'step_functions/condition.rb', line 347 def self.string_greater_than_equals_json_path(variable, value) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "stringGreaterThanEqualsJsonPath", [variable, value]) end |
.string_greater_than_json_path(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a string field sorts after a value at a given mapping path.
358 359 360 361 362 |
# File 'step_functions/condition.rb', line 358 def self.string_greater_than_json_path(variable, value) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "stringGreaterThanJsonPath", [variable, value]) end |
.string_less_than(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a string field sorts before a given value.
369 370 371 372 373 |
# File 'step_functions/condition.rb', line 369 def self.string_less_than(variable, value) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "stringLessThan", [variable, value]) end |
.string_less_than_equals(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a string field sorts equal to or before a given value.
380 381 382 383 384 |
# File 'step_functions/condition.rb', line 380 def self.string_less_than_equals(variable, value) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "stringLessThanEquals", [variable, value]) end |
.string_less_than_equals_json_path(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a string field sorts equal to or before a given mapping.
391 392 393 394 395 |
# File 'step_functions/condition.rb', line 391 def self.string_less_than_equals_json_path(variable, value) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "stringLessThanEqualsJsonPath", [variable, value]) end |
.string_less_than_json_path(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a string field sorts before a given value at a particular mapping.
402 403 404 405 406 |
# File 'step_functions/condition.rb', line 402 def self.string_less_than_json_path(variable, value) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "stringLessThanJsonPath", [variable, value]) end |
.string_matches(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a field matches a string pattern that can contain a wild card () e.g: log-.txt or LATEST. No other characters other than "*" have any special meaning - * can be escaped: \*.
413 414 415 416 417 |
# File 'step_functions/condition.rb', line 413 def self.string_matches(variable, value) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "stringMatches", [variable, value]) end |
.timestamp_equals(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a timestamp field is the same time as the given timestamp.
424 425 426 427 428 |
# File 'step_functions/condition.rb', line 424 def self.(variable, value) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "timestampEquals", [variable, value]) end |
.timestamp_equals_json_path(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a timestamp field is the same time as the timestamp at a given mapping path.
435 436 437 438 439 |
# File 'step_functions/condition.rb', line 435 def self.(variable, value) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "timestampEqualsJsonPath", [variable, value]) end |
.timestamp_greater_than(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a timestamp field is after the given timestamp.
446 447 448 449 450 |
# File 'step_functions/condition.rb', line 446 def self.(variable, value) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "timestampGreaterThan", [variable, value]) end |
.timestamp_greater_than_equals(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a timestamp field is after or equal to the given timestamp.
457 458 459 460 461 |
# File 'step_functions/condition.rb', line 457 def self.(variable, value) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "timestampGreaterThanEquals", [variable, value]) end |
.timestamp_greater_than_equals_json_path(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a timestamp field is after or equal to the timestamp at a given mapping path.
468 469 470 471 472 |
# File 'step_functions/condition.rb', line 468 def self.(variable, value) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "timestampGreaterThanEqualsJsonPath", [variable, value]) end |
.timestamp_greater_than_json_path(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a timestamp field is after the timestamp at a given mapping path.
479 480 481 482 483 |
# File 'step_functions/condition.rb', line 479 def self.(variable, value) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "timestampGreaterThanJsonPath", [variable, value]) end |
.timestamp_less_than(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a timestamp field is before the given timestamp.
490 491 492 493 494 |
# File 'step_functions/condition.rb', line 490 def self.(variable, value) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "timestampLessThan", [variable, value]) end |
.timestamp_less_than_equals(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a timestamp field is before or equal to the given timestamp.
501 502 503 504 505 |
# File 'step_functions/condition.rb', line 501 def self.(variable, value) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "timestampLessThanEquals", [variable, value]) end |
.timestamp_less_than_equals_json_path(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a timestamp field is before or equal to the timestamp at a given mapping path.
512 513 514 515 516 |
# File 'step_functions/condition.rb', line 512 def self.(variable, value) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "timestampLessThanEqualsJsonPath", [variable, value]) end |
.timestamp_less_than_json_path(variable, value) ⇒ AWSCDK::StepFunctions::Condition
Matches if a timestamp field is before the timestamp at a given mapping path.
523 524 525 526 527 |
# File 'step_functions/condition.rb', line 523 def self.(variable, value) Jsii::Type.check_type(variable, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variable") Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Condition", "timestampLessThanJsonPath", [variable, value]) end |
Instance Method Details
#render_condition ⇒ Object
Render Amazon States Language JSON for the condition.
532 533 534 |
# File 'step_functions/condition.rb', line 532 def render_condition() jsii_call_method("renderCondition", []) end |