I want to describe retention for LogGroup from SDK. I found the only way to do it via a AWS Console.
Another way to do it is create UpdateLogGroupCommand, but I think, that adding it into the CreateLogGroupCommand is much easier. I offer to pass in this variable value in days or as enum, such as in AWS Console.
Use Case
When I creating a new LogGroup from code and this code knows how long it want to store logs.
Proposed Solution
Idk. AWS Console can do it. Why SDK can't? :)
Other Information
No response
Acknowledgements
[X] I may be able to implement this feature request
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.
Describe the feature
I want to describe
retention
for LogGroup from SDK. I found the only way to do it via a AWS Console. Another way to do it is createUpdateLogGroupCommand
, but I think, that adding it into theCreateLogGroupCommand
is much easier. I offer to pass in this variable value indays
or asenum
, such as in AWS Console.Use Case
When I creating a new LogGroup from code and this code knows how long it want to store logs.
Proposed Solution
Idk. AWS Console can do it. Why SDK can't? :)
Other Information
No response
Acknowledgements
SDK version used
^3.577.0
Environment details (OS name and version, etc.)
MacOS 14.5 (Sonoma)