2 Answers
- Newest
- Most votes
- Most comments
2
Hi,
These pages have additional information about configuring launch.json :
- https://docs.aws.amazon.com/cloud9/latest/user-guide/sam-debug-config-ref.html
- https://docs.aws.amazon.com/cloud9/latest/user-guide/serverless-apps-toolkit.html#sam-run-debug
In the lambda configuration properties, you can configure the payload option to reference your events/event-get-all-tracks.json file
Excerpt from Configuration options for debugging serverless applications
payload Provides two options for the event payload that you provide to your Lambda function as input.
"json": JSON-formatted key-value pairs that define the event payload.
"path": A path to the file that's used as the event payload.
answered 2 years ago
0
Thanks Edward S! I added >> "payload": { "pathParameters": { "conferenceId": "confz4444", "trackId": "trackz98281" } },
answered 2 years ago
Relevant content
- asked 4 years ago
- asked a year ago
- AWS OFFICIALUpdated 3 years ago
