Skip to content

aws-samples/aws-cdk-reinvent-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

AWS CDK re:Invent 2018 Session

The AWS Cloud Development Kit (CDK) is a software development framework for defining cloud infrastructure in code.

This repo contains the demo code from the AWS re:Invent 2018 DEV372: Infrastructure is Code session.

Prerequisites

  1. Node.js
  2. CDK Toolkit: npm i -g aws-cdk

Setup

Clone the repository and run:

$ cd hello-cdk
$ npm install

Twitter Credentials

Follow the instructions here to obtain Twitter credentials and store them in AWS SecretsManager.

Update the code to use the ARN of the secret you stored.

Build

To build the Typescript code run:

$ npm run build

Or, to continuously build in the background:

$ npm run watch

Deploy

You'll need to setup AWS credentials in your environment (e.g. via aws configure), and then execute:

$ cdk deploy

License Summary

This sample code is made available under a modified MIT license. See the LICENSE file.

About

AWS re:Invent 2018 DEV372 "Infrastructure is Code" demo

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •