File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -36,16 +36,26 @@ stepFunctions:
3636
3737# # Usage
3838# ## deploy
39+ - --state or -t The name of the step function in your service that you want to deploy. Required.
40+ - --stage or -s The stage in your service you want to deploy your step function.
41+ - --region or -r The region in your stage that you want to deploy your step function.
3942` ` `
4043$ sls deploy stepf --state <stepfunctionname>
4144` ` `
4245
4346# ## invoke
47+ - --state or -t The name of the step function in your service that you want to invoke. Required.
48+ - --stage or -s The stage in your service you want to invoke your step function.
49+ - --region or -r The region in your stage that you want to invoke your step function.
50+ - --data or -d String data to be passed as an event to your step function.
4451` ` `
4552$ sls invoke stepf --state <stepfunctionname> --data '{"foo":"bar"}'
4653` ` `
4754
4855# ## remove
56+ - --state or -t The name of the step function in your service that you want to remove. Required.
57+ - --stage or -s The stage in your service you want to invoke your step remove.
58+ - --region or -r The region in your stage that you want to invoke your step remove.
4959` ` `
5060$ sls remove stepf --state <stepfunctionname>
5161` ` `
You can’t perform that action at this time.
0 commit comments