# CodeBasedEvaluatorConfigProperty

The configuration for code-based evaluation using a Lambda function.

- Source: Generated code
- Type last changed: v2.249.0 · 13 Apr 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const codeBasedEvaluatorConfigProperty: bedrockagentcore.CfnEvaluator.CodeBasedEvaluatorConfigProperty = {
  lambdaConfig: {
    lambdaArn: 'lambdaArn',

    // the properties below are optional
    lambdaTimeoutInSeconds: 123,
  },
};
```

## Properties

- `lambdaConfig`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnEvaluator.LambdaEvaluatorConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_bedrockagentcore.CfnEvaluator.LambdaEvaluatorConfigProperty.html) (required) — The Lambda function configuration for code-based evaluation.
