sam local

Run your Serverless application locally for quick development & testing

Subcommands

NameDescription
generate-eventYou can use this command to generate sample payloads from different event sources such as S3, API Gateway, and SNS
invokeInvokes a local Lambda function once
start-apiSets up a local endpoint you can use to test your API
start-lambdaStarts a local endpoint you can use to invoke your local Lambda functions

Options

NameDescription
--help, -hShow help for sam