s3vector_create_bucket
Create a new Amazon S3 Vector bucket.
Parameters
- vector_bucket_namestringrequireddefault environment-only fallback
- Bucket name. When no target field is configured, uses
S3VECTOR_BUCKET_NAME, then legacyS3_BUCKET. - bucketstringdefault no
- Alias for
vector_bucket_name. - regionstringdefault AWS region chain
- Override
S3VECTORS_REGION,S3_REGION,AWS_REGION, orAWS_DEFAULT_REGION. - endpoint_urlstringdefault AWS_ENDPOINT_URL env var
- Override the S3 Vectors service endpoint.
- output_keystringdefault s3vector
- Prefix for context output keys.
Target Resolution
The only supported target is a bucket name supplied as
vector_bucket_name/bucket. If either field is configured, its interpolated
value is the complete target and bucket identifier environment variables are
not consulted. Otherwise, the node uses S3VECTOR_BUCKET_NAME, then the legacy
S3_BUCKET alias. A configured target that is non-string or resolves to a blank
value fails before the AWS client is built.
Context Output
{output_key}_bucket_name— Bucket name used/created.{output_key}_bucket_arn— Bucket ARN if returned by the service.{output_key}_success—trueon success.
Example
local flow = Flow.new("s3vector_create_bucket_example")
flow:step("create_bucket", nodes.s3vector_create_bucket({
vector_bucket_name = "ironflow-vectors-demo",
output_key = "bucket"
}))
return flow