TransformationFunctionProperty Struct
A Lambda function that processes documents.
| Source | |
|---|---|
| Type last changed |
Example
ts
// 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 transformationFunctionProperty: bedrock.CfnDataSource.TransformationFunctionProperty = {
transformationLambdaConfiguration: {
lambdaArn: 'lambdaArn',
},
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_bedrock as bedrock
transformation_function_property = bedrock.CfnDataSource.TransformationFunctionProperty(
transformation_lambda_configuration=bedrock.CfnDataSource.TransformationLambdaConfigurationProperty(
lambda_arn="lambdaArn"
)
)
java
// 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.*;
TransformationFunctionProperty transformationFunctionProperty = TransformationFunctionProperty.builder()
.transformationLambdaConfiguration(TransformationLambdaConfigurationProperty.builder()
.lambdaArn("lambdaArn")
.build())
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Bedrock;
var transformationFunctionProperty = new TransformationFunctionProperty {
TransformationLambdaConfiguration = new TransformationLambdaConfigurationProperty {
LambdaArn = "lambdaArn"
}
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
transformationFunctionProperty := &TransformationFunctionProperty{
TransformationLambdaConfiguration: &TransformationLambdaConfigurationProperty{
LambdaArn: jsii.String("lambdaArn"),
},
}
Properties
transformationLambdaConfigurationIResolvable | CfnDataSource.transformation_lambda_configurationtyping.Union[IResolvable, TransformationLambdaConfigurationProperty]transformationLambdaConfigurationIResolvableTransformationLambdaConfigurationIResolvableTransformationLambdaConfigurationinterface{} required #The Lambda function.