s3:ListObjectAnnotations

List

s3:ListObjectAnnotations is a List access-level action in the s3 service. Grants permission to list annotations on an object

Resource types

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

arn:${Partition}:s3:${Region}:${Account}:accesspoint/${AccessPointName}/object/${ObjectName}
accesspointobject
arn:${Partition}:s3:::${BucketName}/${ObjectName}
object

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

s3:AccessPointNetworkOrigin String

Filters access by the network origin (Internet or VPC)

s3:AccessPointTag/${TagKey} String

Filters access by existing access point tag key and value

s3:BucketTag/${TagKey} String

Filters access by the tags associated with the bucket

s3:DataAccessPointAccount String

Filters access by the AWS Account ID that owns the access point

s3:DataAccessPointArn ARN

Filters access by an access point Amazon Resource Name (ARN)

Example IAM policy

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

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

Related actions in s3

View all s3 actions →