Lambda function for auditing S3 lifecycle rules / ensuring all objects in a given bucket have a lifecycle rule configured
- install the CDK
npm install -g aws-cdk
- Install project dependencies
npm install
-
Ensure you have an AWS profile set up that points to your desired AWS account and region
-
deploy the CDK project. Be sure to include your email address you want to receive notifications on.
cdk deploy --context [email protected] --profile <PROFILE_NAME>