# TransformationFunctionProperty

A Lambda function that processes documents.

- Source: Generated at build time
- Type last changed: v2.154.0 · 22 Aug 2024

## Example

TypeScript:

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

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

```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();
```

C# / .NET:

```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"
    }
};
```

Golang:

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

- `transformationLambdaConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDataSource.TransformationLambdaConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_bedrock.CfnDataSource.TransformationLambdaConfigurationProperty.html) (required) — The Lambda function.
