s3:ListStorageLensGroups is a List access-level action in the s3 service. Grants permission to list S3 Storage Lens groups
This action does not support resource-level permissions; use "Resource": "*" in your policy.
Keys you can use in the Condition block of a policy that grants s3:ListStorageLensGroups.
Filters access by the resource owner AWS account ID
Filters access by the TLS version used by the client
Filters access by authentication method
Filters access by the age in milliseconds of the request signature
Filters access by the version of AWS Signature used on the request
Filters access by unsigned content in your bucket
A minimal policy that allows s3:ListStorageLensGroups. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowS3ListStorageLensGroups",
"Effect": "Allow",
"Action": "s3:ListStorageLensGroups",
"Resource": "*"
}
]
}