vivainio / dropzone

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What's this?

This is code sample that uses CDK to:

  • Create a Lambda function that can be invoked using API Gateway
  • Create a CI using CodeSuite that deploys the Lambda+ApiGateway resources using cdk deploy

How do I start using it?

  • Ensure you've followed the guide to Getting Started to AWS CDK, and you have CDK installed, and the AWS SDK installed and credentials configured.
  • Bootstrap your AWS environment
  • Create a CodeCommit repository. See this documentation for help.
  • Place the contents of this folder inside it
  • Set the repository name in the repositoryName prop in bin/ci.ts.
  • Build the stack with npm run build
  • Deploy the CI stack with cdk deploy
  • Todo summarize permissions
    • If you'd like to deploy just the Lambda+ApiGateway stack, you can do so with cdk deploy -a "npx ts-node bin/lambda.ts"

About


Languages

Language:TypeScript 85.5%Language:JavaScript 14.5%