EvaluatorAttributes Struct
Attributes for importing an existing Evaluator.
| Source | lib/evaluation/types.ts |
|---|
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as bedrock_agentcore_alpha from '@aws-cdk/aws-bedrock-agentcore-alpha';
const evaluatorAttributes: bedrock_agentcore_alpha.EvaluatorAttributes = {
evaluatorArn: 'evaluatorArn',
evaluatorId: 'evaluatorId',
// the properties below are optional
evaluatorName: 'evaluatorName',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_bedrock_agentcore_alpha as bedrock_agentcore_alpha
evaluator_attributes = bedrock_agentcore_alpha.EvaluatorAttributes(
evaluator_arn="evaluatorArn",
evaluator_id="evaluatorId",
# the properties below are optional
evaluator_name="evaluatorName"
)
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.agentcore.alpha.*;
EvaluatorAttributes evaluatorAttributes = EvaluatorAttributes.builder()
.evaluatorArn("evaluatorArn")
.evaluatorId("evaluatorId")
// the properties below are optional
.evaluatorName("evaluatorName")
.build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.Bedrock.Agentcore.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Bedrock.Agentcore.Alpha;
var evaluatorAttributes = new EvaluatorAttributes {
EvaluatorArn = "evaluatorArn",
EvaluatorId = "evaluatorId",
// the properties below are optional
EvaluatorName = "evaluatorName"
};
go
// Install: go get github.com/aws/aws-cdk-go/awsbedrockagentcorealpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import bedrock_agentcore_alpha "github.com/aws/aws-cdk-go/awsbedrockagentcorealpha"
evaluatorAttributes := &EvaluatorAttributes{
EvaluatorArn: jsii.String("evaluatorArn"),
EvaluatorId: jsii.String("evaluatorId"),
// the properties below are optional
EvaluatorName: jsii.String("evaluatorName"),
}
Properties
evaluatorArnstringevaluator_arnstrevaluatorArnStringEvaluatorArnstringEvaluatorArn*string required #The ARN of the evaluator.
The ID of the evaluator.
evaluatorNameoptionalstringevaluator_nameoptionalstrevaluatorNameoptionalStringEvaluatorNameoptionalstringEvaluatorNameoptional*string #The name of the evaluator.
Default: No name available