interface TransformationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins.CfnDataSourcePropsMixin.TransformationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbedrock/mixins#CfnDataSourcePropsMixin_TransformationProperty |
Java | software.amazon.awscdk.mixins.preview.services.bedrock.mixins.CfnDataSourcePropsMixin.TransformationProperty |
Python | aws_cdk.mixins_preview.aws_bedrock.mixins.CfnDataSourcePropsMixin.TransformationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_bedrock » mixins » CfnDataSourcePropsMixin » 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 { mixins as bedrock_mixins } from '@aws-cdk/mixins-preview/aws-bedrock';
const transformationProperty: bedrock_mixins.CfnDataSourcePropsMixin.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
(optional)
When the service applies the transformation.
transformationFunction?
Type:
IResolvable | Transformation
(optional)
A Lambda function that processes documents.

.NET
Go
Java
Python
TypeScript