AWS Certified DevOps Engineer Notes
Transform: 'AWS::Serverless-2016-10-31AWS::Serverless::FunctionAWS::Serverless::Api - API GatewayAWS::Serverless::SimpleTable - DynamoDB tableaws cloudformation package / sam packageaws cloudformation deploy / sam deployDownload a sample application
sam init --runtime java11
Build the application
sam build
Invoke function locally
sam local invoke <function-name> -e event.json
sam local start-api
Package the application
sam package --output-template packaged.yaml --s3-bucket <bucket-name> --region us-east-2 --profile aws-devops
Deploy the application
sam deploy --template-file packaged.yaml --capabilities CAPABILITY_IAM --stack-name <stack-name> --region us-east-2 --profile aws-devops
AutoPublishAlias:
DeploymentPreference: Canary, Linear, AllAtOnceAlarms:
Hooks: