Is your feature request related to a problem? Please describe.
In order to prevent removal of logs, it would be nice to add support for object lock. This would help with compliance, preventing anyone to be able to remove logs.
Describe the solution you'd like
Support new options such as:
object-lock-mode "COMPLIANCE" | "GOVERNANCE"
object-lock-retention 30d | 1y
https://docs.aws.amazon.com/cli/latest/reference/s3api/put-object-lock-configuration.html
Describe alternatives you've considered
Setting a default retention policy on the bucket itself, but nothing prevent it from being modified afterward.
Additional context
No response
Is your feature request related to a problem? Please describe.
In order to prevent removal of logs, it would be nice to add support for object lock. This would help with compliance, preventing anyone to be able to remove logs.
Describe the solution you'd like
Support new options such as:
https://docs.aws.amazon.com/cli/latest/reference/s3api/put-object-lock-configuration.html
Describe alternatives you've considered
Setting a default retention policy on the bucket itself, but nothing prevent it from being modified afterward.
Additional context
No response