When using the AWS CDK to deploy to AWS, the CDK uploads all the assets to an S3 bucket first, and then deploys to AWS resources accordingly.
That bucket can be seen in S3 (named ‘cdk-…’) and it has a lifecycle policy called ‘CleanupOldVersions’ which is automatically created when you first sync the CDK and that bucket is created. The lifecycle retains files for 365 days.
Is there a way to update the number of days in my CDK settings?