@cdklabs/generative-ai-cdk-constructs
@cdklabs/generative-ai-cdk-constructs / bedrock / S3DataSourceProps
Interface to create a new S3 Data Source object.
readonlybucket:IBucket
The bucket that contains the data source.
S3DataSourceAssociationProps.bucket
readonlyoptionalchunkingStrategy:ChunkingStrategy
The chunking stategy to use for splitting your documents or content. The chunks are then converted to embeddings and written to the vector index allowing for similarity search and retrieval of the content.
ChunkingStrategy.DEFAULT
S3DataSourceAssociationProps.chunkingStrategy
readonlyoptionalcontextEnrichment:ContextEnrichment
The context enrichment configuration to use.
- No context enrichment is used.
S3DataSourceAssociationProps.contextEnrichment
readonlyoptionalcustomTransformation:CustomTransformation
The custom transformation strategy to use.
- No custom transformation is used.
S3DataSourceAssociationProps.customTransformation
readonlyoptionaldataDeletionPolicy:DataDeletionPolicy
The data deletion policy to apply to the data source.
- Sets the data deletion policy to the default of the data source type.
S3DataSourceAssociationProps.dataDeletionPolicy
readonlyoptionaldataSourceName:string
The name of the data source.
- A new name will be generated.
S3DataSourceAssociationProps.dataSourceName
readonlyoptionaldescription:string
A description of the data source.
- No description is provided.
S3DataSourceAssociationProps.description
readonlyoptionalinclusionPrefixes:string[]
The prefixes of the objects in the bucket that should be included in the data source.
- All objects in the bucket.
S3DataSourceAssociationProps.inclusionPrefixes
readonlyoptionalkmsKey:IKey
The KMS key to use to encrypt the data source.
- Service owned and managed key.
S3DataSourceAssociationProps.kmsKey
readonlyknowledgeBase:IKnowledgeBase
The knowledge base to associate with the data source.
readonlyoptionalparsingStrategy:ParsingStrategy
The parsing strategy to use.
- No Parsing Stategy is used.