s3:PutStorageLensConfiguration is a Write access-level action in the s3 service. Grants permission to create or update an Amazon S3 Storage Lens configuration
This action does not support resource-level permissions; use "Resource": "*" in your policy.
No condition keys are documented for this action.
A minimal policy that allows s3:PutStorageLensConfiguration. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowS3PutStorageLensConfiguration",
"Effect": "Allow",
"Action": "s3:PutStorageLensConfiguration",
"Resource": "*"
}
]
}