Chapter 2. Hello, CDK!

In this chapter you will begin building the CDK equivalent of “Hello, World!" — a rite of passage in programming. This will be your first complete CDK application, so there will be a lot of new terms and commands to learn. To start you will build a simple object store that accepts a text file, triggers an on-demand cloud function called a Lambda function, and prints a greeting to the logs for your function. You will then extend this simple program to serve as the foundation of your home energy coach program. In this chapter you will deploy the Lambda Function that says “Hello”. To get started you will need to initialize your first CDK project.

Through this project you will learn:

  1. How to intitialize and bootstrap a new CDK application

  2. How to create a CDK stack and integrate it with your CDK application

  3. How to use the aws-cdk-lib standard library

  4. How to synthesize, deploy, and destroy a CDK application ...

Get Hands-On AWS CDK now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.