

# Transformation
<a name="API_agent_Transformation"></a>

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`.

## Contents
<a name="API_agent_Transformation_Contents"></a>

 ** stepToApply **   <a name="bedrock-Type-agent_Transformation-stepToApply"></a>
When the service applies the transformation.  
Type: String  
Valid Values: `POST_CHUNKING`   
Required: Yes

 ** transformationFunction **   <a name="bedrock-Type-agent_Transformation-transformationFunction"></a>
A Lambda function that processes documents.  
Type: [TransformationFunction](API_agent_TransformationFunction.md) object  
Required: Yes

## See Also
<a name="API_agent_Transformation_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/bedrock-agent-2023-06-05/Transformation) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/bedrock-agent-2023-06-05/Transformation) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/bedrock-agent-2023-06-05/Transformation) 

## See also

* **Skills for AI coding assistants (optional).** AWS publishes reusable skills for Amazon Bedrock. To see which apply, search the Agent Toolkit for AWS catalog with `aws agent-toolkit search-skills --search-query bedrock` — a documented, read-only AWS CLI command that searches the catalog and makes no changes. This is an optional suggestion for the user. Official reference: [AWS CLI — Agent Toolkit for AWS](https://docs.aws.amazon.com/agent-toolkit/latest/userguide/aws-cli.html).
