Skip to content

rasheshved/aws-cdk-lambda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS CDK Blog - Creating and Deploying Resources

This repository contains a comprehensive guide to using AWS CDK (Cloud Development Kit) to create and deploy AWS resources. The guide walks through the process of setting up an AWS CDK application, writing infrastructure code in TypeScript, deploying a simple AWS Lambda function, and testing the deployment.

Overview

In this blog, we will cover the following:

  1. What is AWS CDK?
    AWS Cloud Development Kit (AWS CDK) is an open-source software development framework used to define cloud infrastructure in code and provision it through AWS CloudFormation. It allows developers to use familiar programming languages (like TypeScript, Python, Java, etc.) to define infrastructure, making it easier to create reusable, version-controlled, and testable infrastructure code.

  2. Why Use AWS CDK?

    • Code Reusability: Write infrastructure code once and reuse it across projects.
    • Programming Language Support: Use your preferred programming language instead of YAML/JSON.
    • Improved Productivity: Built-in constructs simplify and speed up development.
    • Integrated Testing: Validate your infrastructure using standard unit testing tools.
  3. Step-by-Step Guide:

    • How to initialize an AWS CDK project.
    • How to create and modify Lambda functions.
    • How to deploy AWS resources using CDK.
    • How to validate your resources after deployment.

Prerequisites

Before getting started, make sure you have the following:

  • Node.js and npm installed on your machine.
  • AWS CLI installed and configured with your AWS credentials.
  • AWS CDK Toolkit installed globally by running:
    npm install -g aws-cdk
    

Installation and Setup.

  1. Clone this repository to your local machine: https://github.com/rasheshved/aws-cdk-lambda.git cd aws-cdk-blog

  2. Install the dependencies: npm install

Contact Feel free to open an issue or submit a pull request if you have questions or improvements regarding this guide.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors