Giter Site home page Giter Site logo

cdk-sam-init's Introduction

cdk-sam-init

A CLI to generate an app built with SAM and CDK

Problem Statement

CDK and SAM have a weird relationship. They support each other, kinda. CDK has a aws-sam library for constructs that align with the SAM specification, however there's only support for L1 constructs.

On the other side of the coin, the sam cli offers the ability to run and debug your lambdas and API's locally, but doesn't support most L2 constructs built with CDK.

There is a middle ground where you can have your infrastructure defined with CDK and the local debugging that SAM provides, that (subjectively) offers the best DX within this landscape.

So this CLI attempts to get you building in this landscape faster, by spitting out an application that can be run locally with SAM and also offer the IAAC management of CDK.

While both the aws-sam-cli and cdk offer init commands, oftentimes developers working with AWS may want to have both in order to use the sam cli for local testing, but also cdk for managing IAAC.

This CLI generates an application for you that has both configured and initialized to enable faster development.

Usage

npx cdk-sam-init --name APP_NAME

Roadmap

  • ENV variable support
  • sam-sync support
  • Support other languages (python, go, c#, java)

Template Roadmap

  • Authorizer support
  • Middleware handlers
  • Integration with other L2 Constructs

cdk-sam-init's People

Contributors

quintinchris avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.