(secretsmanager): Add logRetention propertie in interface SingleUserHostedRotationOptions
- Dominant language
- TypeScript
- Stars
- 12.9k
- Forks
- 4.6k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 83
Description
### Use Case
When using `secretsmanager.HostedRotation`, it'll be interresting to set the retention of the Lambda LogGroup because by default it's in "never expire".
Not very Green actually ^^
Let's imagine the amount of logs for all users...
### Proposed Solution
Add a propertie `logRetention` to be able set the Hosted Lambda Logs Retention of the log group.
* [ ] :wave: I may be able to implement this feature request
* [ ] :warning: This feature might incur a breaking change
---
This is a :rocket: Feature Request
Contributor guide
Research direction
Locate the SingleUserHostedRotationOptions interface and the HostedRotation entry point in the AWS CDK source. Trace how the hosted Lambda and its log group are configured, then identify the relevant tests. Done means the new logRetention option controls the hosted Lambda log group's retention without changing unrelated behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, typescript
- Domain
- cloud
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100