s3express:DeleteBucket

Write

s3express:DeleteBucket is a Write access-level action in the s3express service. Grants permission to delete the bucket named in the URI

Resource types

ARNs that s3express:DeleteBucket can be scoped to in an IAM policy.

arn:${Partition}:s3express:${Region}:${Account}:bucket/${BucketName}
bucket

Condition keys

Keys you can use in the Condition block of a policy that grants s3express:DeleteBucket.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

s3express:BucketTag/${TagKey} String

Filters access by tag key-value pairs attached to the bucket

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowS3expressDeleteBucket",
      "Effect": "Allow",
      "Action": "s3express:DeleteBucket",
      "Resource": "*"
    }
  ]
}

Related actions in s3express

View all s3express actions →