Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 1.26 KB

README.md

File metadata and controls

44 lines (29 loc) · 1.26 KB

Example

This is a basic CDK TypeScript example that deploys 2 AWS Lambda functions. One function will be used to put an object into Amazon S3, the second Lambda function is used to generate a pre-signed url that will be used to download the object from Amazon S3.

architecture

Setup

Getting started with AWS CDK

  1. The following prerequisities are required for this example
npm install -g typescript
npm install -g aws-cdk

Install Jupyter Notebook following instructions on this 'site'.

  1. Since this CDK project uses 'Assests', you might need to run the following command to provision resources the AWS CDK will need to perform the deployment.
cdk bootstrap
  1. Install the dependencies
npm install
  1. Execute cdk synth to synthesize as AWS CloudFormation template
cdk synth
  1. Execute cdk deploy to deploy the template and build the stack
cdk deploy
  1. Open the Jupyter Notebook in the jupyter_notebook directory follow the instructions.

  2. Check the Amazon S3 bucket for the objects.