Live Coding on the AWS CDK
summary
Live codes a serverless app from a blank directory using TypeScript and AWS CDK v1.35, installs aws-lambda, apigateway and dynamodb constructs, and defines a NodeJS Lambda (runtime NodeJS_10_X) whose code lives in a local lambda/ folder. Creates a REST API Gateway linked to the Lambda, adds a DynamoDB table and grants the function read permissions, and wires staging and prod variants (staging and prod stacks) with different table capacities. Deploys via cdk deploy, the API returns "Hello and welcome" and example curl create/get flows work.
AI-written summary · about
chapters (9)
- 0:00Introduction to live coding
- 1:53Installing AWS CDK
- 3:20Creating CDK project
- 6:45Setting up Lambda function
- 13:49Creating multiple stacks
- 17:04Adding environment variables
- 19:16Creating API Gateway
- 22:51Adding DynamoDB table
- 27:19Demo of full application
related talks
25mBuilding Real-time Serverless GraphQL APIs on AWS with TypeScript and CDK
28mGoodbye YAML, Hello AWS Cloud Development Kit
25mGetting into the Cloud with TypeScript
30mServerless DX done right
19mCloud infrastructure with AWS Cloud Development Kit
44mAWS CDK. Infrastructure as Code with TypeScript
27mShould I fire my DevOps already? Build your infrastructure using TypeScript
51mTaking Serverless to the Next Level
