Sample serverless application by AWS Lambda, DynamoDB, API Gateway, and deploy with AWS SAM.
API Gateway --> AWS Lambda --> DynamoDB
- awscli config
- aws-sam-local
sam package \
--template-file template.yaml \
--s3-bucket <your S3 bucket name for AWS SAM> \
--output-template-file packaged-template.yaml
sam deploy \
--template-file packaged-template.yaml \
--capabilities CAPABILITY_IAM \
--stack-name <YOUR_STACK_NAME>