Interface CfnDataSource.TransformationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataSource.TransformationProperty.Jsii$Proxy
- Enclosing class:
CfnDataSource
@Stability(Stable)
public static interface CfnDataSource.TransformationProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.bedrock.*;
TransformationProperty transformationProperty = TransformationProperty.builder()
.stepToApply("stepToApply")
.transformationFunction(TransformationFunctionProperty.builder()
.transformationLambdaConfiguration(TransformationLambdaConfigurationProperty.builder()
.lambdaArn("lambdaArn")
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDataSource.TransformationPropertystatic final classAn implementation forCfnDataSource.TransformationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()When the service applies the transformation.A Lambda function that processes documents.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getStepToApply
When the service applies the transformation.- See Also:
-
getTransformationFunction
A Lambda function that processes documents.Returns union: either
IResolvableorCfnDataSource.TransformationFunctionProperty- See Also:
-
builder
-