Aws/s3vectors
@swamp/aws/s3vectorsv2026.10.25.1
01README
AWS S3VECTORS infrastructure models
02Behaviors
@swamp/aws/s3vectors/indexv2026.10.23.1index.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| DataType | enum | The data type of the vectors to be inserted into the vector index. |
| Dimension | number | The dimensions of the vectors to be inserted into the vector index. |
| DistanceMetric | enum | The distance metric to be used for similarity search. |
| EncryptionConfiguration? | object | The encryption configuration for the index. |
| IndexName? | string | The name of the vector index to create. |
| MetadataConfiguration? | object | The metadata configuration for the vector index. |
| VectorBucketArn? | string | The Amazon Resource Name (ARN) of the vector bucket. |
| VectorBucketName? | string | The name of the vector bucket that contains the vector index. |
| Tags? | array | User tags (key-value pairs) to associate with the index. |
fn create()
Create a S3Vectors Index
fn get(identifier: string)
Get a S3Vectors Index
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the S3Vectors Index |
fn update()
Update a S3Vectors Index
fn delete(identifier: string)
Delete a S3Vectors Index
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the S3Vectors Index |
fn sync()
Sync S3Vectors Index state from AWS
fn list(maxPages?: number, resourceModel?: string)
List S3Vectors Index resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
| resourceModel? | string | JSON 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| VectorBucketName? | string | The name of the vector bucket. |
| EncryptionConfiguration? | object | The encryption configuration for the vector bucket. |
| Tags? | array | User tags (key-value pairs) to associate with the vector bucket. |
fn create()
Create a S3Vectors VectorBucket
fn get(identifier: string)
Get a S3Vectors VectorBucket
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the S3Vectors VectorBucket |
fn update()
Update a S3Vectors VectorBucket
fn delete(identifier: string)
Delete a S3Vectors VectorBucket
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the S3Vectors VectorBucket |
fn sync()
Sync S3Vectors VectorBucket state from AWS
fn list(maxPages?: number, resourceModel?: string)
List S3Vectors VectorBucket resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
| resourceModel? | string | JSON 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
| Argument | Type | Description |
|---|---|---|
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| Policy | record | A 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? | string | The Amazon Resource Name (ARN) of the vector bucket. |
| VectorBucketName? | string | The name of the vector bucket |
fn create()
Create a S3Vectors VectorBucketPolicy
fn get(identifier: string)
Get a S3Vectors VectorBucketPolicy
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the S3Vectors VectorBucketPolicy |
fn update()
Update a S3Vectors VectorBucketPolicy
fn delete(identifier: string)
Delete a S3Vectors VectorBucketPolicy
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the S3Vectors VectorBucketPolicy |
fn sync()
Sync S3Vectors VectorBucketPolicy state from AWS
fn list(maxPages?: number, resourceModel?: string)
List S3Vectors VectorBucketPolicy resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
| resourceModel? | string | JSON resource model for parent-scoped listing (e.g. parent identifier) |
Resources
state(infinite)— S3Vectors VectorBucketPolicy resource state
03Previous Versions
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