integration/resources/templates/single/state_machine_with_role_path.yaml (20 lines of code) (raw):
Resources:
MyBasicStateMachine:
Type: AWS::Serverless::StateMachine
Properties:
Type: STANDARD
Definition:
Comment: A Hello World example of the Amazon States Language using Pass states
StartAt: Hello
States:
Hello:
Type: Pass
Result: Hello
Next: World
World:
Type: Pass
Result: World
End: true
RolePath: /foo/bar/
Metadata:
SamTransformTest: true