Definition of AWS::Bedrock::DataSource Resource Type
data_source_configuration
(Attributes) Specifies a raw data source location to ingest. (see below for nested schema)knowledge_base_id
(String) The unique identifier of the knowledge base to which to add the data source.name
(String) The name of the data source.data_deletion_policy
(String) The deletion policy for the data source.description
(String) Description of the Resource.server_side_encryption_configuration
(Attributes) Contains details about the server-side encryption for the data source. (see below for nested schema)vector_ingestion_configuration
(Attributes) Details about how to chunk the documents in the data source. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried. (see below for nested schema)created_at
(String) The time at which the data source was created.data_source_id
(String) Identifier for a resource.data_source_status
(String) The status of a data source.failure_reasons
(List of String) The details of the failure reasons related to the data source.id
(String) Uniquely identifies the resource.updated_at
(String) The time at which the knowledge base was last updated.data_source_configuration
Required:
s3_configuration
(Attributes) Contains information about the S3 configuration of the data source. (see below for nested schema)type
(String) The type of the data source location.data_source_configuration.s3_configuration
Required:
bucket_arn
(String) The ARN of the bucket that contains the data source.Optional:
bucket_owner_account_id
(String) The account ID for the owner of the S3 bucket.inclusion_prefixes
(List of String) A list of S3 prefixes that define the object containing the data sources.server_side_encryption_configuration
Optional:
kms_key_arn
(String) The ARN of the AWS KMS key used to encrypt the resource.vector_ingestion_configuration
Optional:
chunking_configuration
(Attributes) Details about how to chunk the documents in the data source. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried. (see below for nested schema)vector_ingestion_configuration.chunking_configuration
Required:
chunking_strategy
(String) Knowledge base can split your source data into chunks. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried. You have the following options for chunking your data. If you opt for NONE, then you may want to pre-process your files by splitting them up such that each file corresponds to a chunk.Optional:
fixed_size_chunking_configuration
(Attributes) Configurations for when you choose fixed-size chunking. If you set the chunkingStrategy as NONE, exclude this field. (see below for nested schema)vector_ingestion_configuration.chunking_configuration.fixed_size_chunking_configuration
Required:
max_tokens
(Number) The maximum number of tokens to include in a chunk.overlap_percentage
(Number) The percentage of overlap between adjacent chunks of a data source.Import is supported using the following syntax:
$ terraform import awscc_bedrock_data_source.example <resource ID>