Giter Site home page Giter Site logo

aws-samples / strong-typing-practices-with-cdk Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 2.0 54 KB

This example demonstrates how types can be used to make it easy to declare large number of resources in CDK

Home Page: https://aws.amazon.com/blogs/opensource/using-strong-typing-practices-to-declare-a-large-number-of-resources-with-aws-cdk/

License: MIT No Attribution

JavaScript 4.17% Python 21.07% TypeScript 74.76%
cdk aws infrastructure-as-code cloudformation typescript types

strong-typing-practices-with-cdk's Introduction

STRONG TYPING PRACTICES WITH CDK

Note: This project is no longer actively maintained, please consider it for reference purposes only.

This project is shows a small example of how types can be used to declare a large number of infrastructure resources in a safe and concise manner.

This code example is best understood when paired with this blog post.

If you're new to CDK you can follow the fantastic CDK workshop tutorial to get familiar with the framework.

Useful commands

  • npm run build compile typescript to js
  • npm run watch watch for changes and compile
  • npm run test perform the jest unit tests
  • cdk deploy deploy this stack to your default AWS account/region
  • cdk diff compare deployed stack with current state
  • cdk synth emits the synthesized CloudFormation template

Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.

strong-typing-practices-with-cdk's People

Contributors

amazon-auto avatar twitu avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

strong-typing-practices-with-cdk's Issues

No linked blog post

The README states This code example is best understood when paired with this blog post. but there is no link attached.

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.