Bases: object
The result of a Pass operation.
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)
value (Any
) – result of the Pass operation.
Attributes
result of the Pass operation.
Static Methods
The result of the operation is an array.
value (Sequence
[Any
])
The result of the operation is a boolean.
value (bool
)
The result of the operation is a number.
value (Union
[int
, float
])
The result of the operation is an object.
value (Mapping
[str
, Any
])