AWS Learning: Simple API using API Gateway and Lambda with CloudFormation (Part 1)

Integration:        
IntegrationHttpMethod: POST
Type: AWS_PROXY
{             
body: JSON.stringify([
{ id: 1, name: 'Monolith to Microservices', author: 'Sam Newman' },
{ id: 2, name: 'Design It!', author: 'Michael Keeling' },
{ id: 3, name: 'Programming Kotlin', author: 'Venkat Subramaniam'}
]),
statusCode: 200
}
aws cloudformation deploy --template-file cloudformation.yaml --stack-name simple-books-api --capabilities CAPABILITY_NAMED_IAM

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store