Skip to content

Bedrock Agent  >  Structures  >  DocumentContent

DocumentContent

Structure Class

DocumentContent dataclass

Contains information about the content of a document. Choose a dataSourceType and include the field that corresponds to it.

Attributes

custom class-attribute instance-attribute
custom: CustomContent | None = None

Contains information about the content to ingest into a knowledge base connected to a custom data source.

data_source_type instance-attribute
data_source_type: ContentDataSourceType

The type of data source that is connected to the knowledge base to which to ingest this document.

s3 class-attribute instance-attribute
s3: S3Content | None = None

Contains information about the content to ingest into a knowledge base connected to an Amazon S3 data source