View a markdown version of this page

Actions, resources, and condition keys for Amazon S3 Vectors - Service Authorization Reference

Actions, resources, and condition keys for Amazon S3 Vectors

Amazon S3 Vectors (service prefix: s3vectors) provides the following service-specific operations, resources, actions, and condition keys for use in IAM permission policies.

References:

Actions defined by Amazon S3 Vectors

You can specify the following actions in the Action element of an IAM policy statement. Use policies to grant permissions to perform an operation in AWS. When you use an action in a policy, you usually allow or deny access to the API operation or CLI command with the same name. However, in some cases, a single action controls access to more than one operation. Alternatively, some operations require several different actions.

Actions Description Resource types (*required) Condition keys Access level

CreateIndex

Grants permission to create a new vector index within a specified vector bucket

Index*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

s3vectors:kmsKeyArn

s3vectors:sseType

s3vectors:VectorBucketTag/${TagKey}

Write

CreateVectorBucket

Grants permission to create a new vector bucket

VectorBucket*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

s3vectors:kmsKeyArn

s3vectors:sseType

s3vectors:VectorBucketTag/${TagKey}

Write

DeleteIndex

Grants permission to delete a specified vector index

Index*

aws:ResourceTag/${TagKey}

s3vectors:VectorBucketTag/${TagKey}

Write

DeleteVectorBucket

Grants permission to delete a specified vector bucket

VectorBucket*

aws:ResourceTag/${TagKey}

s3vectors:VectorBucketTag/${TagKey}

Write

DeleteVectorBucketPolicy

Grants permission to delete the IAM resource policy from a specified vector bucket

VectorBucket*

aws:ResourceTag/${TagKey}

s3vectors:VectorBucketTag/${TagKey}

Permissions management, Write

DeleteVectors

Grants permission to delete a batch of vectors from a specified vector index

Index*

aws:ResourceTag/${TagKey}

s3vectors:VectorBucketTag/${TagKey}

Write

GetIndex

Grants permission to get the attributes of a specified vector index

Index*

aws:ResourceTag/${TagKey}

s3vectors:VectorBucketTag/${TagKey}

Read

GetVectorBucket

Grants permission to get the attributes of a specified vector bucket

VectorBucket*

aws:ResourceTag/${TagKey}

s3vectors:VectorBucketTag/${TagKey}

Read

GetVectorBucketPolicy

Grants permission to get the IAM resource policy for a specific vector bucket

VectorBucket*

aws:ResourceTag/${TagKey}

s3vectors:VectorBucketTag/${TagKey}

Read

GetVectors

Grants permission to get a batch of vectors by their vector keys

Index*

aws:ResourceTag/${TagKey}

s3vectors:VectorBucketTag/${TagKey}

Read

ListIndexes

Grants permission to get a paginated list of all indexes in a specified vector bucket

VectorBucket*

aws:ResourceTag/${TagKey}

s3vectors:VectorBucketTag/${TagKey}

List

ListTagsForResource

Grants permission to list tags for specified S3Vector resource

Index

aws:ResourceTag/${TagKey}

s3vectors:VectorBucketTag/${TagKey}

List

VectorBucket

aws:ResourceTag/${TagKey}

s3vectors:VectorBucketTag/${TagKey}

ListVectorBuckets

Grants permission to get a paginated list of all vector buckets in the account

List

ListVectors

Grants permission to get a paginated list of all vectors in a specified vector index

Index*

aws:ResourceTag/${TagKey}

s3vectors:VectorBucketTag/${TagKey}

List

PutVectorBucketPolicy

Grants permission to add an IAM resource policy to a specified vector bucket

VectorBucket*

aws:ResourceTag/${TagKey}

s3vectors:VectorBucketTag/${TagKey}

Permissions management, Write

PutVectors

Grants permission to add a batch of vectors to a specified vector index

Index*

aws:ResourceTag/${TagKey}

s3vectors:VectorBucketTag/${TagKey}

Write

QueryVectors

Grants permission to find approximate nearest neighbors within a specified search vector index for a given query vector

Index*

aws:ResourceTag/${TagKey}

s3vectors:VectorBucketTag/${TagKey}

Read

TagResource

Grants permission to tag a S3Vector resource

Index

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

s3vectors:VectorBucketTag/${TagKey}

Tagging, Write

VectorBucket

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

s3vectors:VectorBucketTag/${TagKey}

UntagResource

Grants permission to untag a S3Vector resource

Index

aws:ResourceTag/${TagKey}

aws:TagKeys

s3vectors:VectorBucketTag/${TagKey}

Tagging, Write

VectorBucket

aws:ResourceTag/${TagKey}

aws:TagKeys

s3vectors:VectorBucketTag/${TagKey}

Resource types defined by Amazon S3 Vectors

The following resource types are defined by this service and can be used in the Resource element of IAM permission policy statements.

Resource types ARN Condition keys

Index

arn:${Partition}:s3vectors:${Region}:${Account}:bucket/${BucketName}/index/${IndexName}

aws:ResourceTag/${TagKey}

s3vectors:VectorBucketTag/${TagKey}

VectorBucket

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

aws:ResourceTag/${TagKey}

s3vectors:VectorBucketTag/${TagKey}

Condition keys for Amazon S3 Vectors

Amazon S3 Vectors defines the following condition keys that can be used in the Condition element of an IAM policy.

Condition keys Description Type

aws:RequestTag/${TagKey}

Filters access by the tags that are passed in the request

String

aws:ResourceTag/${TagKey}

Filters access by the tags associated with the resource

String

aws:TagKeys

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

ArrayOfString

s3vectors:VectorBucketTag/${TagKey}

Filters access by the tags associated with the vector bucket

String

s3vectors:kmsKeyArn

Filters access by the AWS KMS key ARN for the key used to encrypt a vector bucket

ARN

s3vectors:sseType

Filters access by server-side encryption type

String