Class: AWSCDK::StepFunctions::Condition

Inherits:
Jsii::Object
  • Object
show all
Defined in:
step_functions/condition.rb

Overview

A Condition for use in a Choice state branch.

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCondition

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.

Parameters:

  • conditions (Array<AWSCDK::StepFunctions::Condition>)

Returns:

  • (AWSCDK::StepFunctions::Condition)


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.

Parameters:

  • condition (AWSCDK::StepFunctions::Condition)

Returns:

  • (AWSCDK::StepFunctions::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.

Parameters:

  • conditions (Array<AWSCDK::StepFunctions::Condition>)

Returns:

  • (AWSCDK::StepFunctions::Condition)


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.

Parameters:

  • variable (String)
  • value (Boolean)

Returns:

  • (AWSCDK::StepFunctions::Condition)


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.

Parameters:

  • variable (String)
  • value (String)

Returns:

  • (AWSCDK::StepFunctions::Condition)


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.

Parameters:

  • variable (String)

Returns:

  • (AWSCDK::StepFunctions::Condition)


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.

Parameters:

  • variable (String)

Returns:

  • (AWSCDK::StepFunctions::Condition)


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.

Parameters:

  • variable (String)

Returns:

  • (AWSCDK::StepFunctions::Condition)


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.

Parameters:

  • variable (String)

Returns:

  • (AWSCDK::StepFunctions::Condition)


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.

Parameters:

  • variable (String)

Returns:

  • (AWSCDK::StepFunctions::Condition)


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.

Parameters:

  • variable (String)

Returns:

  • (AWSCDK::StepFunctions::Condition)


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.

Parameters:

  • variable (String)

Returns:

  • (AWSCDK::StepFunctions::Condition)


109
110
111
112
# File 'step_functions/condition.rb', line 109

def self.is_not_timestamp(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.

Parameters:

  • variable (String)

Returns:

  • (AWSCDK::StepFunctions::Condition)


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.

Parameters:

  • variable (String)

Returns:

  • (AWSCDK::StepFunctions::Condition)


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.

Parameters:

  • variable (String)

Returns:

  • (AWSCDK::StepFunctions::Condition)


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.

Parameters:

  • variable (String)

Returns:

  • (AWSCDK::StepFunctions::Condition)


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.

Parameters:

  • variable (String)

Returns:

  • (AWSCDK::StepFunctions::Condition)


154
155
156
157
# File 'step_functions/condition.rb', line 154

def self.is_timestamp(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_methodsObject



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.

Parameters:

  • condition (String)

Returns:

  • (AWSCDK::StepFunctions::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.

Parameters:

  • variable (String)
  • value (Numeric)

Returns:

  • (AWSCDK::StepFunctions::Condition)


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.

Parameters:

  • variable (String)
  • value (String)

Returns:

  • (AWSCDK::StepFunctions::Condition)


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.

Parameters:

  • variable (String)
  • value (Numeric)

Returns:

  • (AWSCDK::StepFunctions::Condition)


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.

Parameters:

  • variable (String)
  • value (Numeric)

Returns:

  • (AWSCDK::StepFunctions::Condition)


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.

Parameters:

  • variable (String)
  • value (String)

Returns:

  • (AWSCDK::StepFunctions::Condition)


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.

Parameters:

  • variable (String)
  • value (String)

Returns:

  • (AWSCDK::StepFunctions::Condition)


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.

Parameters:

  • variable (String)
  • value (Numeric)

Returns:

  • (AWSCDK::StepFunctions::Condition)


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.

Parameters:

  • variable (String)
  • value (Numeric)

Returns:

  • (AWSCDK::StepFunctions::Condition)


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.

Parameters:

  • variable (String)
  • value (String)

Returns:

  • (AWSCDK::StepFunctions::Condition)


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.

Parameters:

  • variable (String)
  • value (String)

Returns:

  • (AWSCDK::StepFunctions::Condition)


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.

Parameters:

  • variable (String)
  • value (String)

Returns:

  • (AWSCDK::StepFunctions::Condition)


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.

Parameters:

  • variable (String)
  • value (String)

Returns:

  • (AWSCDK::StepFunctions::Condition)


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.

Parameters:

  • variable (String)
  • value (String)

Returns:

  • (AWSCDK::StepFunctions::Condition)


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.

Parameters:

  • variable (String)
  • value (String)

Returns:

  • (AWSCDK::StepFunctions::Condition)


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.

Parameters:

  • variable (String)
  • value (String)

Returns:

  • (AWSCDK::StepFunctions::Condition)


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.

Parameters:

  • variable (String)
  • value (String)

Returns:

  • (AWSCDK::StepFunctions::Condition)


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.

Parameters:

  • variable (String)
  • value (String)

Returns:

  • (AWSCDK::StepFunctions::Condition)


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.

Parameters:

  • variable (String)
  • value (String)

Returns:

  • (AWSCDK::StepFunctions::Condition)


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.

Parameters:

  • variable (String)
  • value (String)

Returns:

  • (AWSCDK::StepFunctions::Condition)


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.

Parameters:

  • variable (String)
  • value (String)

Returns:

  • (AWSCDK::StepFunctions::Condition)


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: \*.

Parameters:

  • variable (String)
  • value (String)

Returns:

  • (AWSCDK::StepFunctions::Condition)


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.

Parameters:

  • variable (String)
  • value (String)

Returns:

  • (AWSCDK::StepFunctions::Condition)


424
425
426
427
428
# File 'step_functions/condition.rb', line 424

def self.timestamp_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", "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.

Parameters:

  • variable (String)
  • value (String)

Returns:

  • (AWSCDK::StepFunctions::Condition)


435
436
437
438
439
# File 'step_functions/condition.rb', line 435

def self.timestamp_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", "timestampEqualsJsonPath", [variable, value])
end

.timestamp_greater_than(variable, value) ⇒ AWSCDK::StepFunctions::Condition

Matches if a timestamp field is after the given timestamp.

Parameters:

  • variable (String)
  • value (String)

Returns:

  • (AWSCDK::StepFunctions::Condition)


446
447
448
449
450
# File 'step_functions/condition.rb', line 446

def self.timestamp_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", "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.

Parameters:

  • variable (String)
  • value (String)

Returns:

  • (AWSCDK::StepFunctions::Condition)


457
458
459
460
461
# File 'step_functions/condition.rb', line 457

def self.timestamp_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", "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.

Parameters:

  • variable (String)
  • value (String)

Returns:

  • (AWSCDK::StepFunctions::Condition)


468
469
470
471
472
# File 'step_functions/condition.rb', line 468

def self.timestamp_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", "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.

Parameters:

  • variable (String)
  • value (String)

Returns:

  • (AWSCDK::StepFunctions::Condition)


479
480
481
482
483
# File 'step_functions/condition.rb', line 479

def self.timestamp_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", "timestampGreaterThanJsonPath", [variable, value])
end

.timestamp_less_than(variable, value) ⇒ AWSCDK::StepFunctions::Condition

Matches if a timestamp field is before the given timestamp.

Parameters:

  • variable (String)
  • value (String)

Returns:

  • (AWSCDK::StepFunctions::Condition)


490
491
492
493
494
# File 'step_functions/condition.rb', line 490

def self.timestamp_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", "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.

Parameters:

  • variable (String)
  • value (String)

Returns:

  • (AWSCDK::StepFunctions::Condition)


501
502
503
504
505
# File 'step_functions/condition.rb', line 501

def self.timestamp_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", "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.

Parameters:

  • variable (String)
  • value (String)

Returns:

  • (AWSCDK::StepFunctions::Condition)


512
513
514
515
516
# File 'step_functions/condition.rb', line 512

def self.timestamp_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", "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.

Parameters:

  • variable (String)
  • value (String)

Returns:

  • (AWSCDK::StepFunctions::Condition)


523
524
525
526
527
# File 'step_functions/condition.rb', line 523

def self.timestamp_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", "timestampLessThanJsonPath", [variable, value])
end

Instance Method Details

#render_conditionObject

Render Amazon States Language JSON for the condition.

Returns:

  • (Object)


532
533
534
# File 'step_functions/condition.rb', line 532

def render_condition()
  jsii_call_method("renderCondition", [])
end