Packaging Application
sam package --template-file sam-template.yaml --s3-bucket your_bucket --output-template-file sam-output-template.yaml
Deploying Application
sam deploy --template-file sam-output-template.yaml --stack-name your_name --capabilities CAPABILITY_IAM