Skip to content
v2.274.0

CodeBasedEvaluatorConfigProperty Struct ​

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

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 ​

lambdaConfigIResolvable | CfnEvaluator.LambdaEvaluatorConfigPropertylambda_configtyping.Union[IResolvable, LambdaEvaluatorConfigProperty]lambdaConfigIResolvableLambdaConfigIResolvableLambdaConfiginterface{}required#
The Lambda function configuration for code-based evaluation.