Result
- class aws_cdk.aws_stepfunctions.Result(value)
Bases:
objectThe result of a Pass operation.
- ExampleMetadata:
infused
Example:
# Makes the current JSON state { ..., "subObject": { "hello": "world" } } pass = sfn.Pass(self, "Add Hello World", result=sfn.Result.from_object({"hello": "world"}), result_path="$.subObject" ) # Set the next state next_state = sfn.Pass(self, "NextState") pass.next(next_state)
- Parameters:
value (
Any) – result of the Pass operation.
Attributes
- value
result of the Pass operation.
Static Methods
- classmethod from_array(value)
The result of the operation is an array.
- Parameters:
value (
Sequence[Any])- Return type:
- classmethod from_boolean(value)
The result of the operation is a boolean.
- Parameters:
value (
bool)- Return type:
- classmethod from_number(value)
The result of the operation is a number.
- Parameters:
value (
Union[int,float])- Return type:
- classmethod from_object(value)
The result of the operation is an object.
- Parameters:
value (
Mapping[str,Any])- Return type: