Skip to content

PJ64/apigw_Lambda_s3

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published