Skip to content

Commit a1ca8f2

Browse files
committed
feat: extend readme
1 parent cbe97ab commit a1ca8f2

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -997,7 +997,7 @@ stepFunctions:
997997
...
998998
```
999999

1000-
#### Specify Input or Inputpath
1000+
#### Specify Input or Inputpath or InputTransformer
10011001

10021002
You can specify input values ​​to the Lambda function.
10031003

@@ -1030,6 +1030,19 @@ stepFunctions:
10301030
state:
10311031
- pending
10321032
inputPath: '$.stageVariables'
1033+
- cloudwatchEvent:
1034+
event:
1035+
source:
1036+
- "aws.ec2"
1037+
detail-type:
1038+
- "EC2 Instance State-change Notification"
1039+
detail:
1040+
state:
1041+
- pending
1042+
inputTransformer:
1043+
inputPathsMap:
1044+
stage: '$.stageVariables'
1045+
inputTemplate: '{ "stage": <stage> }'
10331046
definition:
10341047
...
10351048
```

0 commit comments

Comments
 (0)