Skip to content

Bedrock Agent Runtime  >  Structures  >  FileSource

FileSource

Structure Class

FileSource dataclass

The source file of the content contained in the wrapper object.

Attributes

byte_content class-attribute instance-attribute
byte_content: ByteContentFile | None = None

The data and the text of the attached files.

s3_location class-attribute instance-attribute
s3_location: S3ObjectFile | None = None

The s3 location of the files to attach.

source_type instance-attribute
source_type: FileSourceType

The source type of the files to attach.