Skip to content

Bedrock Agent  >  Structures  >  Transformation

Transformation

Structure Class

Transformation dataclass

A custom processing step for documents moving through a data source ingestion pipeline. To process documents after they have been converted into chunks, set the step to apply to POST_CHUNKING.

Attributes

step_to_apply instance-attribute
step_to_apply: StepType

When the service applies the transformation.

transformation_function instance-attribute
transformation_function: TransformationFunction

A Lambda function that processes documents.