Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

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

License

Notifications You must be signed in to change notification settings

amazon-archives/cdk-reinvent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

AWS CDK re:Invent 2018 Session

ARCHIVED: This repository is no longer maintained. You may still follow the instructions in this README to try out the CDK.

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