Prototype CDK Typescript project demonstrating the use of CDK Aspect to attach serverless functions to VPC
This project creates a CDK stack, consisting of one lambda function, which queries a list of S3 buckets from the S3 api.
This function's network interface is attached to a VPC by the aspect lib/vpc-attach-aspect.ts
To install dependencies, run npm i
npm run buildcompile typescript to jsnpm run watchwatch for changes and compilenpm run testperform the jest unit testsnpm cdk deploydeploy this stack to your default AWS account/regionnpm cdk diffcompare deployed stack with current statenpm cdk synthemits the synthesized CloudFormation template