S3VectorsConfigurationProperty Struct
Contains the storage configuration of the knowledge base for S3 vectors.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
const s3VectorsConfigurationProperty: bedrock.CfnKnowledgeBase.S3VectorsConfigurationProperty = {
indexArn: 'indexArn',
indexName: 'indexName',
vectorBucketArn: 'vectorBucketArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_bedrock as bedrock
s3_vectors_configuration_property = bedrock.CfnKnowledgeBase.S3VectorsConfigurationProperty(
index_arn="indexArn",
index_name="indexName",
vector_bucket_arn="vectorBucketArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrock.*;
S3VectorsConfigurationProperty s3VectorsConfigurationProperty = S3VectorsConfigurationProperty.builder()
.indexArn("indexArn")
.indexName("indexName")
.vectorBucketArn("vectorBucketArn")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Bedrock;
var s3VectorsConfigurationProperty = new S3VectorsConfigurationProperty {
IndexArn = "indexArn",
IndexName = "indexName",
VectorBucketArn = "vectorBucketArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
s3VectorsConfigurationProperty := &S3VectorsConfigurationProperty{
IndexArn: jsii.String("indexArn"),
IndexName: jsii.String("indexName"),
VectorBucketArn: jsii.String("vectorBucketArn"),
}
Properties
indexArnoptionalstringindex_arnoptionalstrindexArnoptionalStringIndexArnoptionalstringIndexArnoptional*string #The Amazon Resource Name (ARN) of the vector index used for the knowledge base.
This ARN identifies the specific vector index resource within Amazon Bedrock.
indexNameoptionalstringindex_nameoptionalstrindexNameoptionalStringIndexNameoptionalstringIndexNameoptional*string #The name of the vector index used for the knowledge base.
This name identifies the vector index within the Amazon Bedrock service.
vectorBucketArnoptionalstringvector_bucket_arnoptionalstrvectorBucketArnoptionalStringVectorBucketArnoptionalstringVectorBucketArnoptional*string #The Amazon Resource Name (ARN) of the S3 bucket where vector embeddings are stored.
This bucket contains the vector data used by the knowledge base.