Created
October 4, 2019 21:49
-
-
Save garystafford/b673e94eca664f8ef7995469ca6539fe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# variables (required by local lambda functions) | |
TABLE_NAME=your-dynamodb-table-name | |
# local testing (All CRUD functions) | |
sam local invoke PostMessageFunction \ | |
--event lambda_apigtw_to_dynamodb/events/event_postMessage.json | |
sam local invoke GetMessageFunction \ | |
--event lambda_apigtw_to_dynamodb/events/event_getMessage.json | |
sam local invoke GetMessagesFunction \ | |
--event lambda_apigtw_to_dynamodb/events/event_getMessages.json | |
sam local invoke PutMessageFunction \ | |
--event lambda_apigtw_to_dynamodb/events/event_putMessage.json | |
sam local invoke DeleteMessageFunction \ | |
--event lambda_apigtw_to_dynamodb/events/event_deleteMessage.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment