Skip to content

Commit 6c422c4

Browse files
authored
Update README.md
1 parent b08a3e2 commit 6c422c4

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,3 +112,16 @@ $ sls invoke stepf --name <stepfunctionname> --data '{"foo":"bar"}'
112112
- --region or -r The region in your stage that you want to invoke your step function.
113113
- --data or -d String data to be passed as an event to your step function.
114114
- --path or -p The path to a json file with input data to be passed to the invoked step function.
115+
116+
## IAM Role
117+
The IAM roles required to run Statemachine are automatically generated. It is also possible to specify ARN directly.
118+
119+
Here's an example:
120+
121+
```yml
122+
stepFunctions:
123+
stateMachines:
124+
hello:
125+
role: arn:aws:iam::xxxxxxxx:role/yourRole
126+
definition:
127+
```

0 commit comments

Comments
 (0)