Install AWS SAM CLI
brew tap aws/tap
brew install aws-sam-cli
Create a native executable using:
mvn clean package -Pnative
Running AWS SAM locally
# Make sure you have your "sam/env.json" file in place
sam local invoke --template sam/sam.native.yaml --event sam/event.json --env-vars sam/env.json