This is a stable example. It should successfully build out of the box
This example is used for the blog post on: https://towardsthecloud.com/aws-cdk-custom-role-lambda-function
1. Clone this repository
git clone [email protected]:dannysteenman/aws-cdk-examples.git
cd aws-cdk-examples/custom-role-lambda-function
npm install
To see the Cloudformation template generated by the CDK, run cdk synth
, then check the output file in the "cdk.out" directory.
cdk synth
Deploy the stack:
cdk deploy
Go to CloudFormaton in the console to see the stacks you've deployed in your default region.
Delete the stack:
cdk destroy