How to create a basic Lambda function and build with S3 Bucket, working with AWS CDK — Infrastructure as Code (IaC)

Lambda functions its a way to run your code serverless, it’s not mean you did not need a server for running your code, and your code did not run in a magic way, a simple way to explain what serverless code is it just means you as the developer did not need to think about how the server and operations system do to run your codebase.

Prepare your project to run AWS CDK with Python

You need to install the aws-cdk npm package to run the cdk deploy command and after its installed, you need to install the aws-cdk-lib for python to install CDK v2 framework.

Create your cdk.json file in the root of your project to tell CDK to execute our python code.

--

--

Paris Nakita Kejser
DevOps Engineer, Software Architect and Software Developering

DevOps Engineer, Software Architect, Software Developer, Data Scientist and identify me as a non-binary person.