Skip to main content

Aws/s3vectors

@swamp/aws/s3vectorsv2026.10.25.1· AGPL-3.0-or-later· 1d agoBEHAVIORS
01README

AWS S3VECTORS infrastructure models

02Behaviors3
@swamp/aws/s3vectors/indexv2026.10.23.1index.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
DataTypeenumThe data type of the vectors to be inserted into the vector index.
DimensionnumberThe dimensions of the vectors to be inserted into the vector index.
DistanceMetricenumThe distance metric to be used for similarity search.
EncryptionConfiguration?objectThe encryption configuration for the index.
IndexName?stringThe name of the vector index to create.
MetadataConfiguration?objectThe metadata configuration for the vector index.
VectorBucketArn?stringThe Amazon Resource Name (ARN) of the vector bucket.
VectorBucketName?stringThe name of the vector bucket that contains the vector index.
Tags?arrayUser tags (key-value pairs) to associate with the index.
fn create()
Create a S3Vectors Index
fn get(identifier: string)
Get a S3Vectors Index
ArgumentTypeDescription
identifierstringThe primary identifier of the S3Vectors Index
fn update()
Update a S3Vectors Index
fn delete(identifier: string)
Delete a S3Vectors Index
ArgumentTypeDescription
identifierstringThe primary identifier of the S3Vectors Index
fn sync()
Sync S3Vectors Index state from AWS
fn list(maxPages?: number, resourceModel?: string)
List S3Vectors Index resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

state(infinite)— S3Vectors Index resource state
@swamp/aws/s3vectors/vector-bucketv2026.10.23.1vector_bucket.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
VectorBucketName?stringThe name of the vector bucket.
EncryptionConfiguration?objectThe encryption configuration for the vector bucket.
Tags?arrayUser tags (key-value pairs) to associate with the vector bucket.
fn create()
Create a S3Vectors VectorBucket
fn get(identifier: string)
Get a S3Vectors VectorBucket
ArgumentTypeDescription
identifierstringThe primary identifier of the S3Vectors VectorBucket
fn update()
Update a S3Vectors VectorBucket
fn delete(identifier: string)
Delete a S3Vectors VectorBucket
ArgumentTypeDescription
identifierstringThe primary identifier of the S3Vectors VectorBucket
fn sync()
Sync S3Vectors VectorBucket state from AWS
fn list(maxPages?: number, resourceModel?: string)
List S3Vectors VectorBucket resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

state(infinite)— S3Vectors VectorBucket resource state
@swamp/aws/s3vectors/vector-bucket-policyv2026.10.23.1vector_bucket_policy.ts

Global Arguments

ArgumentTypeDescription
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
PolicyrecordA policy document containing permissions to add to the specified vector bucket. In IAM, you must provide policy documents in JSON format. However, in CloudFormation you can provide the policy in JSON or YAML format because CloudFormation converts YAML to JSON before submitting it to IAM.
VectorBucketArn?stringThe Amazon Resource Name (ARN) of the vector bucket.
VectorBucketName?stringThe name of the vector bucket
fn create()
Create a S3Vectors VectorBucketPolicy
fn get(identifier: string)
Get a S3Vectors VectorBucketPolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the S3Vectors VectorBucketPolicy
fn update()
Update a S3Vectors VectorBucketPolicy
fn delete(identifier: string)
Delete a S3Vectors VectorBucketPolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the S3Vectors VectorBucketPolicy
fn sync()
Sync S3Vectors VectorBucketPolicy state from AWS
fn list(maxPages?: number, resourceModel?: string)
List S3Vectors VectorBucketPolicy resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

state(infinite)— S3Vectors VectorBucketPolicy resource state
03Previous Versions19
2026.10.24.1AGPL-3.0-or-later
2026.10.23.1AGPL-3.0-or-later(was none)
  • Updated: index, vector_bucket, vector_bucket_policy
2026.10.13.1
  • Updated: index, vector_bucket, vector_bucket_policy
2026.10.08.1
2026.10.06.1
2026.10.04.1
2026.10.03.1
2026.10.02.1
2026.10.01.1
2026.09.30.1
2026.09.29.1
2026.09.28.1
2026.09.27.1
2026.09.26.1
2026.09.25.1
2026.09.24.1
2026.09.23.1
2026.09.21.1
2026.09.20.1
04Stats
A
100 / 100
Downloads
117
Archive size
622.0 KB
Verified by Swamp
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Docs keep secrets in a vault1/1earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License2/2earned
  • Verified public repository2/2earned
05Platforms
06Labels