s3:DeleteStorageLensConfiguration

Write

s3:DeleteStorageLensConfiguration is a Write access-level action in the s3 service. Grants permission to delete an existing Amazon S3 Storage Lens configuration

Resource types

ARNs that s3:DeleteStorageLensConfiguration can be scoped to in an IAM policy.

arn:${Partition}:s3:${Region}:${Account}:storage-lens/${ConfigId}
storagelensconfiguration

Condition keys

Keys you can use in the Condition block of a policy that grants s3:DeleteStorageLensConfiguration.

aws:RequestTag/${TagKey} String

Filters access by the tags that are passed in the request

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

aws:TagKeys ArrayOfString

Filters access by the tag keys that are passed in the request

Example IAM policy

A minimal policy that allows s3:DeleteStorageLensConfiguration. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowS3DeleteStorageLensConfiguration",
      "Effect": "Allow",
      "Action": "s3:DeleteStorageLensConfiguration",
      "Resource": "*"
    }
  ]
}

Related actions in s3

View all s3 actions →