Class: AWSCDK::StepFunctions::Result
- Inherits:
-
Jsii::Object
- Object
- Jsii::Object
- AWSCDK::StepFunctions::Result
- Defined in:
- step_functions/result.rb
Overview
The result of a Pass operation.
Class Method Summary collapse
-
.from_array(value) ⇒ AWSCDK::StepFunctions::Result
The result of the operation is an array.
-
.from_boolean(value) ⇒ AWSCDK::StepFunctions::Result
The result of the operation is a boolean.
-
.from_number(value) ⇒ AWSCDK::StepFunctions::Result
The result of the operation is a number.
-
.from_object(value) ⇒ AWSCDK::StepFunctions::Result
The result of the operation is an object.
-
.from_string(value) ⇒ AWSCDK::StepFunctions::Result
The result of the operation is a string.
- .jsii_overridable_methods ⇒ Object
Instance Method Summary collapse
-
#initialize(value) ⇒ Result
constructor
A new instance of Result.
-
#value ⇒ Object
result of the Pass operation.
Constructor Details
#initialize(value) ⇒ Result
Returns a new instance of Result.
9 10 11 12 |
# File 'step_functions/result.rb', line 9 def initialize(value) Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJhbnkifQ==")), "value") Jsii::Object.instance_method(:initialize).bind(self).call(value) end |
Class Method Details
.from_array(value) ⇒ AWSCDK::StepFunctions::Result
The result of the operation is an array.
24 25 26 27 |
# File 'step_functions/result.rb', line 24 def self.from_array(value) Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6ImFueSJ9LCJraW5kIjoiYXJyYXkifX0=")), "value") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Result", "fromArray", [value]) end |
.from_boolean(value) ⇒ AWSCDK::StepFunctions::Result
The result of the operation is a boolean.
33 34 35 36 |
# File 'step_functions/result.rb', line 33 def self.from_boolean(value) Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJib29sZWFuIn0=")), "value") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Result", "fromBoolean", [value]) end |
.from_number(value) ⇒ AWSCDK::StepFunctions::Result
The result of the operation is a number.
42 43 44 45 |
# File 'step_functions/result.rb', line 42 def self.from_number(value) Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "value") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Result", "fromNumber", [value]) end |
.from_object(value) ⇒ AWSCDK::StepFunctions::Result
The result of the operation is an object.
51 52 53 54 |
# File 'step_functions/result.rb', line 51 def self.from_object(value) Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6ImFueSJ9LCJraW5kIjoibWFwIn19")), "value") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Result", "fromObject", [value]) end |
.from_string(value) ⇒ AWSCDK::StepFunctions::Result
The result of the operation is a string.
60 61 62 63 |
# File 'step_functions/result.rb', line 60 def self.from_string(value) Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions.Result", "fromString", [value]) end |
.jsii_overridable_methods ⇒ Object
14 15 16 17 18 |
# File 'step_functions/result.rb', line 14 def self.jsii_overridable_methods { :value => { kind: :property, name: "value", is_optional: false }, } end |
Instance Method Details
#value ⇒ Object
result of the Pass operation.
68 69 70 |
# File 'step_functions/result.rb', line 68 def value() jsii_get_property("value") end |