File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ Serverless Framework v2.32.0 or later is required.
4242 - [ Enabling / Disabling] ( #enabling--disabling )
4343 - [ Specify Name and Description] ( #specify-name-and-description )
4444 - [ Scheduled Events IAM Role] ( #scheduled-events-iam-role )
45+ - [ Specify InputTransformer] ( #specify-inputtransformer )
4546 - [ CloudWatch Event] ( #cloudwatch-event )
4647 - [ Simple event definition] ( #simple-event-definition )
4748 - [ Enabling / Disabling] ( #enabling--disabling-1 )
@@ -929,6 +930,26 @@ events:
929930 role: arn:aws:iam::xxxxxxxx:role/yourRole
930931` ` `
931932
933+ # ### Specify InputTransformer
934+
935+ You can specify input values to the Lambda function.
936+
937+ ` ` ` yml
938+ stepFunctions:
939+ stateMachines:
940+ stateMachineScheduled:
941+ events:
942+ - schedule:
943+ rate: cron(30 12 ? * 1-5 *)
944+ inputTransformer:
945+ inputPathsMap:
946+ time: '$.time'
947+ stage: '$.stageVariables'
948+ inputTemplate: '{"time": <time>, "stage" : <stage> }'
949+ definition:
950+ ...
951+ ` ` `
952+
932953# ## CloudWatch Event / EventBridge
933954
934955# ### Simple event definition
You can’t perform that action at this time.
0 commit comments