
Install the AWS CLI on macOS or Windows, configure a profile and region us-east-1 with YAML output, then create an IAM user with programmatic access and test aws ec2 describe-instances.
Install the AWS CDK by confirming node and npm, install globally with npm install -g, use sudo or administrator rights when needed, then verify with cdk --version.
On this lecture you'll also find the link to the GitHub repository with the source code
Learn to navigate the AWS CDK documentation, create and encrypt an S3 bucket with KMS, and compare level one, two, and three constructs while reviewing CFN resources and experimental features.
Explore deploying a TypeScript Lambda with the AWS CDK, including diff checks, transpiling to JavaScript, Docker-based packaging, and creating a lambda function and its role through CDK deploy.
Demonstrate testing a CDK Lambda function in AWS, create test events, deploy changes, and monitor CloudWatch logs for duration, memory, and log outputs.
Create a React app using TypeScript in the front end folder, bypass preflight checks with a dot env, start the dev server, and prepare to deploy to S3 with CDK.
AWS Cloud Development Kit (AWS CDK)
Welcome to the AWS Cloud Development Kit (AWS CDK) Developer Guide. This document provides information about the AWS CDK, which is a software development framework for defining cloud infrastructure in code and provisioning it through AWS CloudFormation.
AWS CloudFormation enables you to:
Create and provision AWS infrastructure deployments predictably and repeatedly.
Leverage AWS products such as Amazon EC2, Amazon Elastic Block Store, Amazon SNS, Elastic Load Balancing, and Auto Scaling.
Build highly reliable, highly scalable, cost-effective applications in the cloud without worrying about creating and configuring the underlying AWS infrastructure.
Use a template file to create and delete a collection of resources together as a single unit (a stack).
Use the AWS CDK to define your cloud resources in a familiar programming language. The AWS CDK supports TypeScript, JavaScript, Python, Java, and C#/.Net.