interface TransformationProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.aws_bedrock.CfnDataSource.TransformationProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrock#CfnDataSource_TransformationProperty |
![]() | software.amazon.awscdk.services.bedrock.CfnDataSource.TransformationProperty |
![]() | aws_cdk.aws_bedrock.CfnDataSource.TransformationProperty |
![]() | aws-cdk-lib » aws_bedrock » CfnDataSource » TransformationProperty |
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
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
const transformationProperty: bedrock.CfnDataSource.TransformationProperty = {
stepToApply: 'stepToApply',
transformationFunction: {
transformationLambdaConfiguration: {
lambdaArn: 'lambdaArn',
},
},
};
Properties
Name | Type | Description |
---|---|---|
step | string | When the service applies the transformation. |
transformation | IResolvable | Transformation | A Lambda function that processes documents. |
stepToApply
Type:
string
When the service applies the transformation.
transformationFunction
Type:
IResolvable
|
Transformation
A Lambda function that processes documents.