Describe the feature
Allow passing Lifecycle Rules to the generated ArtifactsBucketLocation S3 bucket.
Use Case
If you do not specify an ArtifactsBucketLocation for a Canary an S3 bucket is created for you and cannot be changed afterward. This bucket sets props for encryption and forcing SSL but does not expose lifecycle rules, nor are lifecycle rules set in relation to the failureRetentionPeriod and successRetentionPeriod props on the Canary. The S3 bucket will grow indefinitely unless you manually specify lifecycle rules from the interface or CLI.
Proposed Solution
No response
Other Information
No response
Acknowledgements
CDK version used
2.43.1
Environment details (OS name and version, etc.)
macOS Monterey 12.6
Describe the feature
Allow passing Lifecycle Rules to the generated ArtifactsBucketLocation S3 bucket.
Use Case
If you do not specify an
ArtifactsBucketLocationfor aCanaryan S3 bucket is created for you and cannot be changed afterward. This bucket sets props for encryption and forcing SSL but does not expose lifecycle rules, nor are lifecycle rules set in relation to thefailureRetentionPeriodandsuccessRetentionPeriodprops on the Canary. The S3 bucket will grow indefinitely unless you manually specify lifecycle rules from the interface or CLI.Proposed Solution
No response
Other Information
No response
Acknowledgements
CDK version used
2.43.1
Environment details (OS name and version, etc.)
macOS Monterey 12.6