published on Friday, May 29, 2026 by Pulumi
published on Friday, May 29, 2026 by Pulumi
Manages an AWS Bedrock AgentCore Online Evaluation Configuration. Online evaluation configurations continuously monitor agent performance by sampling live traffic from CloudWatch logs and applying evaluators to assess agent quality in production.
Note: CloudWatch Transaction Serach must be enabled before using this resource.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.iam.Role("example", {
name: "agentcore-eval-role",
assumeRolePolicy: JSON.stringify({
Version: "2012-10-17",
Statement: [{
Effect: "Allow",
Action: "sts:AssumeRole",
Principal: {
Service: "bedrock-agentcore.amazonaws.com",
},
}],
}),
});
const exampleLogGroup = new aws.cloudwatch.LogGroup("example", {name: "/aws/agentcore/my-agent-traces"});
const exampleAgentcoreOnlineEvaluationConfig = new aws.bedrock.AgentcoreOnlineEvaluationConfig("example", {
onlineEvaluationConfigName: "my_evaluation_config",
description: "Continuous evaluation of agent performance",
enableOnCreate: true,
evaluationExecutionRoleArn: example.arn,
dataSourceConfig: {
cloudwatchLogs: {
logGroupNames: [exampleLogGroup.name],
serviceNames: ["my_agent_service"],
},
},
evaluators: [
{
evaluatorId: "Builtin.Helpfulness",
},
{
evaluatorId: "Builtin.GoalSuccessRate",
},
],
rule: {
samplingConfig: {
samplingPercentage: 10,
},
},
});
import pulumi
import json
import pulumi_aws as aws
example = aws.iam.Role("example",
name="agentcore-eval-role",
assume_role_policy=json.dumps({
"Version": "2012-10-17",
"Statement": [{
"Effect": "Allow",
"Action": "sts:AssumeRole",
"Principal": {
"Service": "bedrock-agentcore.amazonaws.com",
},
}],
}))
example_log_group = aws.cloudwatch.LogGroup("example", name="/aws/agentcore/my-agent-traces")
example_agentcore_online_evaluation_config = aws.bedrock.AgentcoreOnlineEvaluationConfig("example",
online_evaluation_config_name="my_evaluation_config",
description="Continuous evaluation of agent performance",
enable_on_create=True,
evaluation_execution_role_arn=example.arn,
data_source_config={
"cloudwatch_logs": {
"log_group_names": [example_log_group.name],
"service_names": ["my_agent_service"],
},
},
evaluators=[
{
"evaluator_id": "Builtin.Helpfulness",
},
{
"evaluator_id": "Builtin.GoalSuccessRate",
},
],
rule={
"sampling_config": {
"sampling_percentage": float(10),
},
})
package main
import (
"encoding/json"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/bedrock"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
tmpJSON0, err := json.Marshal(map[string]interface{}{
"Version": "2012-10-17",
"Statement": []map[string]interface{}{
map[string]interface{}{
"Effect": "Allow",
"Action": "sts:AssumeRole",
"Principal": map[string]interface{}{
"Service": "bedrock-agentcore.amazonaws.com",
},
},
},
})
if err != nil {
return err
}
json0 := string(tmpJSON0)
example, err := iam.NewRole(ctx, "example", &iam.RoleArgs{
Name: pulumi.String("agentcore-eval-role"),
AssumeRolePolicy: pulumi.String(pulumi.String(json0)),
})
if err != nil {
return err
}
exampleLogGroup, err := cloudwatch.NewLogGroup(ctx, "example", &cloudwatch.LogGroupArgs{
Name: pulumi.String("/aws/agentcore/my-agent-traces"),
})
if err != nil {
return err
}
_, err = bedrock.NewAgentcoreOnlineEvaluationConfig(ctx, "example", &bedrock.AgentcoreOnlineEvaluationConfigArgs{
OnlineEvaluationConfigName: pulumi.String("my_evaluation_config"),
Description: pulumi.String("Continuous evaluation of agent performance"),
EnableOnCreate: pulumi.Bool(true),
EvaluationExecutionRoleArn: example.Arn,
DataSourceConfig: &bedrock.AgentcoreOnlineEvaluationConfigDataSourceConfigArgs{
CloudwatchLogs: &bedrock.AgentcoreOnlineEvaluationConfigDataSourceConfigCloudwatchLogsArgs{
LogGroupNames: pulumi.StringArray{
exampleLogGroup.Name,
},
ServiceNames: pulumi.StringArray{
pulumi.String("my_agent_service"),
},
},
},
Evaluators: bedrock.AgentcoreOnlineEvaluationConfigEvaluatorArray{
&bedrock.AgentcoreOnlineEvaluationConfigEvaluatorArgs{
EvaluatorId: pulumi.String("Builtin.Helpfulness"),
},
&bedrock.AgentcoreOnlineEvaluationConfigEvaluatorArgs{
EvaluatorId: pulumi.String("Builtin.GoalSuccessRate"),
},
},
Rule: &bedrock.AgentcoreOnlineEvaluationConfigRuleArgs{
SamplingConfig: &bedrock.AgentcoreOnlineEvaluationConfigRuleSamplingConfigArgs{
SamplingPercentage: pulumi.Float64(10),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Iam.Role("example", new()
{
Name = "agentcore-eval-role",
AssumeRolePolicy = JsonSerializer.Serialize(new Dictionary<string, object?>
{
["Version"] = "2012-10-17",
["Statement"] = new[]
{
new Dictionary<string, object?>
{
["Effect"] = "Allow",
["Action"] = "sts:AssumeRole",
["Principal"] = new Dictionary<string, object?>
{
["Service"] = "bedrock-agentcore.amazonaws.com",
},
},
},
}),
});
var exampleLogGroup = new Aws.CloudWatch.LogGroup("example", new()
{
Name = "/aws/agentcore/my-agent-traces",
});
var exampleAgentcoreOnlineEvaluationConfig = new Aws.Bedrock.AgentcoreOnlineEvaluationConfig("example", new()
{
OnlineEvaluationConfigName = "my_evaluation_config",
Description = "Continuous evaluation of agent performance",
EnableOnCreate = true,
EvaluationExecutionRoleArn = example.Arn,
DataSourceConfig = new Aws.Bedrock.Inputs.AgentcoreOnlineEvaluationConfigDataSourceConfigArgs
{
CloudwatchLogs = new Aws.Bedrock.Inputs.AgentcoreOnlineEvaluationConfigDataSourceConfigCloudwatchLogsArgs
{
LogGroupNames = new[]
{
exampleLogGroup.Name,
},
ServiceNames = new[]
{
"my_agent_service",
},
},
},
Evaluators = new[]
{
new Aws.Bedrock.Inputs.AgentcoreOnlineEvaluationConfigEvaluatorArgs
{
EvaluatorId = "Builtin.Helpfulness",
},
new Aws.Bedrock.Inputs.AgentcoreOnlineEvaluationConfigEvaluatorArgs
{
EvaluatorId = "Builtin.GoalSuccessRate",
},
},
Rule = new Aws.Bedrock.Inputs.AgentcoreOnlineEvaluationConfigRuleArgs
{
SamplingConfig = new Aws.Bedrock.Inputs.AgentcoreOnlineEvaluationConfigRuleSamplingConfigArgs
{
SamplingPercentage = 10,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.iam.Role;
import com.pulumi.aws.iam.RoleArgs;
import com.pulumi.aws.cloudwatch.LogGroup;
import com.pulumi.aws.cloudwatch.LogGroupArgs;
import com.pulumi.aws.bedrock.AgentcoreOnlineEvaluationConfig;
import com.pulumi.aws.bedrock.AgentcoreOnlineEvaluationConfigArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreOnlineEvaluationConfigDataSourceConfigArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreOnlineEvaluationConfigDataSourceConfigCloudwatchLogsArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreOnlineEvaluationConfigEvaluatorArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreOnlineEvaluationConfigRuleArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreOnlineEvaluationConfigRuleSamplingConfigArgs;
import static com.pulumi.codegen.internal.Serialization.*;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Role("example", RoleArgs.builder()
.name("agentcore-eval-role")
.assumeRolePolicy(serializeJson(
jsonObject(
jsonProperty("Version", "2012-10-17"),
jsonProperty("Statement", jsonArray(jsonObject(
jsonProperty("Effect", "Allow"),
jsonProperty("Action", "sts:AssumeRole"),
jsonProperty("Principal", jsonObject(
jsonProperty("Service", "bedrock-agentcore.amazonaws.com")
))
)))
)))
.build());
var exampleLogGroup = new LogGroup("exampleLogGroup", LogGroupArgs.builder()
.name("/aws/agentcore/my-agent-traces")
.build());
var exampleAgentcoreOnlineEvaluationConfig = new AgentcoreOnlineEvaluationConfig("exampleAgentcoreOnlineEvaluationConfig", AgentcoreOnlineEvaluationConfigArgs.builder()
.onlineEvaluationConfigName("my_evaluation_config")
.description("Continuous evaluation of agent performance")
.enableOnCreate(true)
.evaluationExecutionRoleArn(example.arn())
.dataSourceConfig(AgentcoreOnlineEvaluationConfigDataSourceConfigArgs.builder()
.cloudwatchLogs(AgentcoreOnlineEvaluationConfigDataSourceConfigCloudwatchLogsArgs.builder()
.logGroupNames(exampleLogGroup.name())
.serviceNames("my_agent_service")
.build())
.build())
.evaluators(
AgentcoreOnlineEvaluationConfigEvaluatorArgs.builder()
.evaluatorId("Builtin.Helpfulness")
.build(),
AgentcoreOnlineEvaluationConfigEvaluatorArgs.builder()
.evaluatorId("Builtin.GoalSuccessRate")
.build())
.rule(AgentcoreOnlineEvaluationConfigRuleArgs.builder()
.samplingConfig(AgentcoreOnlineEvaluationConfigRuleSamplingConfigArgs.builder()
.samplingPercentage(10.0)
.build())
.build())
.build());
}
}
resources:
example:
type: aws:iam:Role
properties:
name: agentcore-eval-role
assumeRolePolicy:
fn::toJSON:
Version: 2012-10-17
Statement:
- Effect: Allow
Action: sts:AssumeRole
Principal:
Service: bedrock-agentcore.amazonaws.com
exampleLogGroup:
type: aws:cloudwatch:LogGroup
name: example
properties:
name: /aws/agentcore/my-agent-traces
exampleAgentcoreOnlineEvaluationConfig:
type: aws:bedrock:AgentcoreOnlineEvaluationConfig
name: example
properties:
onlineEvaluationConfigName: my_evaluation_config
description: Continuous evaluation of agent performance
enableOnCreate: true
evaluationExecutionRoleArn: ${example.arn}
dataSourceConfig:
cloudwatchLogs:
logGroupNames:
- ${exampleLogGroup.name}
serviceNames:
- my_agent_service
evaluators:
- evaluatorId: Builtin.Helpfulness
- evaluatorId: Builtin.GoalSuccessRate
rule:
samplingConfig:
samplingPercentage: 10
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
resource "aws_iam_role" "example" {
name = "agentcore-eval-role"
assume_role_policy = jsonencode({
"Version" = "2012-10-17"
"Statement" = [{
"Effect" = "Allow"
"Action" = "sts:AssumeRole"
"Principal" = {
"Service" = "bedrock-agentcore.amazonaws.com"
}
}]
})
}
resource "aws_cloudwatch_loggroup" "example" {
name = "/aws/agentcore/my-agent-traces"
}
resource "aws_bedrock_agentcoreonlineevaluationconfig" "example" {
online_evaluation_config_name = "my_evaluation_config"
description = "Continuous evaluation of agent performance"
enable_on_create = true
evaluation_execution_role_arn = aws_iam_role.example.arn
data_source_config = {
cloudwatch_logs = {
log_group_names = [aws_cloudwatch_loggroup.example.name]
service_names = ["my_agent_service"]
}
}
evaluators {
evaluator_id = "Builtin.Helpfulness"
}
evaluators {
evaluator_id = "Builtin.GoalSuccessRate"
}
rule = {
sampling_config = {
sampling_percentage = 10
}
}
}
With Filters and Session Config
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const filtered = new aws.bedrock.AgentcoreOnlineEvaluationConfig("filtered", {
onlineEvaluationConfigName: "filtered_evaluation",
enableOnCreate: true,
evaluationExecutionRoleArn: exampleAwsIamRole.arn,
dataSourceConfig: {
cloudwatchLogs: {
logGroupNames: [example.name],
serviceNames: ["my_agent_service"],
},
},
evaluators: [{
evaluatorId: "Builtin.Helpfulness",
}],
rule: {
samplingConfig: {
samplingPercentage: 50,
},
filters: [{
key: "environment",
operator: "Equals",
value: {
stringValue: "production",
},
}],
sessionConfig: {
sessionTimeoutMinutes: 30,
},
},
});
import pulumi
import pulumi_aws as aws
filtered = aws.bedrock.AgentcoreOnlineEvaluationConfig("filtered",
online_evaluation_config_name="filtered_evaluation",
enable_on_create=True,
evaluation_execution_role_arn=example_aws_iam_role["arn"],
data_source_config={
"cloudwatch_logs": {
"log_group_names": [example["name"]],
"service_names": ["my_agent_service"],
},
},
evaluators=[{
"evaluator_id": "Builtin.Helpfulness",
}],
rule={
"sampling_config": {
"sampling_percentage": float(50),
},
"filters": [{
"key": "environment",
"operator": "Equals",
"value": {
"string_value": "production",
},
}],
"session_config": {
"session_timeout_minutes": 30,
},
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/bedrock"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := bedrock.NewAgentcoreOnlineEvaluationConfig(ctx, "filtered", &bedrock.AgentcoreOnlineEvaluationConfigArgs{
OnlineEvaluationConfigName: pulumi.String("filtered_evaluation"),
EnableOnCreate: pulumi.Bool(true),
EvaluationExecutionRoleArn: pulumi.Any(exampleAwsIamRole.Arn),
DataSourceConfig: &bedrock.AgentcoreOnlineEvaluationConfigDataSourceConfigArgs{
CloudwatchLogs: &bedrock.AgentcoreOnlineEvaluationConfigDataSourceConfigCloudwatchLogsArgs{
LogGroupNames: pulumi.StringArray{
example.Name,
},
ServiceNames: pulumi.StringArray{
pulumi.String("my_agent_service"),
},
},
},
Evaluators: bedrock.AgentcoreOnlineEvaluationConfigEvaluatorArray{
&bedrock.AgentcoreOnlineEvaluationConfigEvaluatorArgs{
EvaluatorId: pulumi.String("Builtin.Helpfulness"),
},
},
Rule: &bedrock.AgentcoreOnlineEvaluationConfigRuleArgs{
SamplingConfig: &bedrock.AgentcoreOnlineEvaluationConfigRuleSamplingConfigArgs{
SamplingPercentage: pulumi.Float64(50),
},
Filters: bedrock.AgentcoreOnlineEvaluationConfigRuleFilterArray{
&bedrock.AgentcoreOnlineEvaluationConfigRuleFilterArgs{
Key: pulumi.String("environment"),
Operator: pulumi.String("Equals"),
Value: &bedrock.AgentcoreOnlineEvaluationConfigRuleFilterValueArgs{
StringValue: pulumi.String("production"),
},
},
},
SessionConfig: &bedrock.AgentcoreOnlineEvaluationConfigRuleSessionConfigArgs{
SessionTimeoutMinutes: pulumi.Int(30),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var filtered = new Aws.Bedrock.AgentcoreOnlineEvaluationConfig("filtered", new()
{
OnlineEvaluationConfigName = "filtered_evaluation",
EnableOnCreate = true,
EvaluationExecutionRoleArn = exampleAwsIamRole.Arn,
DataSourceConfig = new Aws.Bedrock.Inputs.AgentcoreOnlineEvaluationConfigDataSourceConfigArgs
{
CloudwatchLogs = new Aws.Bedrock.Inputs.AgentcoreOnlineEvaluationConfigDataSourceConfigCloudwatchLogsArgs
{
LogGroupNames = new[]
{
example.Name,
},
ServiceNames = new[]
{
"my_agent_service",
},
},
},
Evaluators = new[]
{
new Aws.Bedrock.Inputs.AgentcoreOnlineEvaluationConfigEvaluatorArgs
{
EvaluatorId = "Builtin.Helpfulness",
},
},
Rule = new Aws.Bedrock.Inputs.AgentcoreOnlineEvaluationConfigRuleArgs
{
SamplingConfig = new Aws.Bedrock.Inputs.AgentcoreOnlineEvaluationConfigRuleSamplingConfigArgs
{
SamplingPercentage = 50,
},
Filters = new[]
{
new Aws.Bedrock.Inputs.AgentcoreOnlineEvaluationConfigRuleFilterArgs
{
Key = "environment",
Operator = "Equals",
Value = new Aws.Bedrock.Inputs.AgentcoreOnlineEvaluationConfigRuleFilterValueArgs
{
StringValue = "production",
},
},
},
SessionConfig = new Aws.Bedrock.Inputs.AgentcoreOnlineEvaluationConfigRuleSessionConfigArgs
{
SessionTimeoutMinutes = 30,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.bedrock.AgentcoreOnlineEvaluationConfig;
import com.pulumi.aws.bedrock.AgentcoreOnlineEvaluationConfigArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreOnlineEvaluationConfigDataSourceConfigArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreOnlineEvaluationConfigDataSourceConfigCloudwatchLogsArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreOnlineEvaluationConfigEvaluatorArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreOnlineEvaluationConfigRuleArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreOnlineEvaluationConfigRuleSamplingConfigArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreOnlineEvaluationConfigRuleSessionConfigArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var filtered = new AgentcoreOnlineEvaluationConfig("filtered", AgentcoreOnlineEvaluationConfigArgs.builder()
.onlineEvaluationConfigName("filtered_evaluation")
.enableOnCreate(true)
.evaluationExecutionRoleArn(exampleAwsIamRole.arn())
.dataSourceConfig(AgentcoreOnlineEvaluationConfigDataSourceConfigArgs.builder()
.cloudwatchLogs(AgentcoreOnlineEvaluationConfigDataSourceConfigCloudwatchLogsArgs.builder()
.logGroupNames(example.name())
.serviceNames("my_agent_service")
.build())
.build())
.evaluators(AgentcoreOnlineEvaluationConfigEvaluatorArgs.builder()
.evaluatorId("Builtin.Helpfulness")
.build())
.rule(AgentcoreOnlineEvaluationConfigRuleArgs.builder()
.samplingConfig(AgentcoreOnlineEvaluationConfigRuleSamplingConfigArgs.builder()
.samplingPercentage(50.0)
.build())
.filters(AgentcoreOnlineEvaluationConfigRuleFilterArgs.builder()
.key("environment")
.operator("Equals")
.value(AgentcoreOnlineEvaluationConfigRuleFilterValueArgs.builder()
.stringValue("production")
.build())
.build())
.sessionConfig(AgentcoreOnlineEvaluationConfigRuleSessionConfigArgs.builder()
.sessionTimeoutMinutes(30)
.build())
.build())
.build());
}
}
resources:
filtered:
type: aws:bedrock:AgentcoreOnlineEvaluationConfig
properties:
onlineEvaluationConfigName: filtered_evaluation
enableOnCreate: true
evaluationExecutionRoleArn: ${exampleAwsIamRole.arn}
dataSourceConfig:
cloudwatchLogs:
logGroupNames:
- ${example.name}
serviceNames:
- my_agent_service
evaluators:
- evaluatorId: Builtin.Helpfulness
rule:
samplingConfig:
samplingPercentage: 50
filters:
- key: environment
operator: Equals
value:
stringValue: production
sessionConfig:
sessionTimeoutMinutes: 30
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
resource "aws_bedrock_agentcoreonlineevaluationconfig" "filtered" {
online_evaluation_config_name = "filtered_evaluation"
enable_on_create = true
evaluation_execution_role_arn = exampleAwsIamRole.arn
data_source_config = {
cloudwatch_logs = {
log_group_names = [example.name]
service_names = ["my_agent_service"]
}
}
evaluators {
evaluator_id = "Builtin.Helpfulness"
}
rule = {
sampling_config = {
sampling_percentage = 50
}
filters = [{
"key" = "environment"
"operator" = "Equals"
"value" = {
"stringValue" = "production"
}
}]
session_config = {
session_timeout_minutes = 30
}
}
}
Create AgentcoreOnlineEvaluationConfig Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AgentcoreOnlineEvaluationConfig(name: string, args: AgentcoreOnlineEvaluationConfigArgs, opts?: CustomResourceOptions);@overload
def AgentcoreOnlineEvaluationConfig(resource_name: str,
args: AgentcoreOnlineEvaluationConfigArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AgentcoreOnlineEvaluationConfig(resource_name: str,
opts: Optional[ResourceOptions] = None,
data_source_config: Optional[AgentcoreOnlineEvaluationConfigDataSourceConfigArgs] = None,
enable_on_create: Optional[bool] = None,
evaluation_execution_role_arn: Optional[str] = None,
evaluators: Optional[Sequence[AgentcoreOnlineEvaluationConfigEvaluatorArgs]] = None,
online_evaluation_config_name: Optional[str] = None,
rule: Optional[AgentcoreOnlineEvaluationConfigRuleArgs] = None,
description: Optional[str] = None,
execution_status: Optional[str] = None,
region: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[AgentcoreOnlineEvaluationConfigTimeoutsArgs] = None)func NewAgentcoreOnlineEvaluationConfig(ctx *Context, name string, args AgentcoreOnlineEvaluationConfigArgs, opts ...ResourceOption) (*AgentcoreOnlineEvaluationConfig, error)public AgentcoreOnlineEvaluationConfig(string name, AgentcoreOnlineEvaluationConfigArgs args, CustomResourceOptions? opts = null)
public AgentcoreOnlineEvaluationConfig(String name, AgentcoreOnlineEvaluationConfigArgs args)
public AgentcoreOnlineEvaluationConfig(String name, AgentcoreOnlineEvaluationConfigArgs args, CustomResourceOptions options)
type: aws:bedrock:AgentcoreOnlineEvaluationConfig
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws_bedrock_agentcoreonlineevaluationconfig" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args AgentcoreOnlineEvaluationConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AgentcoreOnlineEvaluationConfigArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AgentcoreOnlineEvaluationConfigArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AgentcoreOnlineEvaluationConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AgentcoreOnlineEvaluationConfigArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var agentcoreOnlineEvaluationConfigResource = new Aws.Bedrock.AgentcoreOnlineEvaluationConfig("agentcoreOnlineEvaluationConfigResource", new()
{
DataSourceConfig = new Aws.Bedrock.Inputs.AgentcoreOnlineEvaluationConfigDataSourceConfigArgs
{
CloudwatchLogs = new Aws.Bedrock.Inputs.AgentcoreOnlineEvaluationConfigDataSourceConfigCloudwatchLogsArgs
{
LogGroupNames = new[]
{
"string",
},
ServiceNames = new[]
{
"string",
},
},
},
EnableOnCreate = false,
EvaluationExecutionRoleArn = "string",
Evaluators = new[]
{
new Aws.Bedrock.Inputs.AgentcoreOnlineEvaluationConfigEvaluatorArgs
{
EvaluatorId = "string",
},
},
OnlineEvaluationConfigName = "string",
Rule = new Aws.Bedrock.Inputs.AgentcoreOnlineEvaluationConfigRuleArgs
{
SamplingConfig = new Aws.Bedrock.Inputs.AgentcoreOnlineEvaluationConfigRuleSamplingConfigArgs
{
SamplingPercentage = 0,
},
Filters = new[]
{
new Aws.Bedrock.Inputs.AgentcoreOnlineEvaluationConfigRuleFilterArgs
{
Key = "string",
Operator = "string",
Value = new Aws.Bedrock.Inputs.AgentcoreOnlineEvaluationConfigRuleFilterValueArgs
{
BooleanValue = false,
DoubleValue = 0,
StringValue = "string",
},
},
},
SessionConfig = new Aws.Bedrock.Inputs.AgentcoreOnlineEvaluationConfigRuleSessionConfigArgs
{
SessionTimeoutMinutes = 0,
},
},
Description = "string",
ExecutionStatus = "string",
Region = "string",
Tags =
{
{ "string", "string" },
},
Timeouts = new Aws.Bedrock.Inputs.AgentcoreOnlineEvaluationConfigTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := bedrock.NewAgentcoreOnlineEvaluationConfig(ctx, "agentcoreOnlineEvaluationConfigResource", &bedrock.AgentcoreOnlineEvaluationConfigArgs{
DataSourceConfig: &bedrock.AgentcoreOnlineEvaluationConfigDataSourceConfigArgs{
CloudwatchLogs: &bedrock.AgentcoreOnlineEvaluationConfigDataSourceConfigCloudwatchLogsArgs{
LogGroupNames: pulumi.StringArray{
pulumi.String("string"),
},
ServiceNames: pulumi.StringArray{
pulumi.String("string"),
},
},
},
EnableOnCreate: pulumi.Bool(false),
EvaluationExecutionRoleArn: pulumi.String("string"),
Evaluators: bedrock.AgentcoreOnlineEvaluationConfigEvaluatorArray{
&bedrock.AgentcoreOnlineEvaluationConfigEvaluatorArgs{
EvaluatorId: pulumi.String("string"),
},
},
OnlineEvaluationConfigName: pulumi.String("string"),
Rule: &bedrock.AgentcoreOnlineEvaluationConfigRuleArgs{
SamplingConfig: &bedrock.AgentcoreOnlineEvaluationConfigRuleSamplingConfigArgs{
SamplingPercentage: pulumi.Float64(0),
},
Filters: bedrock.AgentcoreOnlineEvaluationConfigRuleFilterArray{
&bedrock.AgentcoreOnlineEvaluationConfigRuleFilterArgs{
Key: pulumi.String("string"),
Operator: pulumi.String("string"),
Value: &bedrock.AgentcoreOnlineEvaluationConfigRuleFilterValueArgs{
BooleanValue: pulumi.Bool(false),
DoubleValue: pulumi.Float64(0),
StringValue: pulumi.String("string"),
},
},
},
SessionConfig: &bedrock.AgentcoreOnlineEvaluationConfigRuleSessionConfigArgs{
SessionTimeoutMinutes: pulumi.Int(0),
},
},
Description: pulumi.String("string"),
ExecutionStatus: pulumi.String("string"),
Region: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &bedrock.AgentcoreOnlineEvaluationConfigTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
resource "aws_bedrock_agentcoreonlineevaluationconfig" "agentcoreOnlineEvaluationConfigResource" {
data_source_config = {
cloudwatch_logs = {
log_group_names = ["string"]
service_names = ["string"]
}
}
enable_on_create = false
evaluation_execution_role_arn = "string"
evaluators {
evaluator_id = "string"
}
online_evaluation_config_name = "string"
rule = {
sampling_config = {
sampling_percentage = 0
}
filters = [{
"key" = "string"
"operator" = "string"
"value" = {
"booleanValue" = false
"doubleValue" = 0
"stringValue" = "string"
}
}]
session_config = {
session_timeout_minutes = 0
}
}
description = "string"
execution_status = "string"
region = "string"
tags = {
"string" = "string"
}
timeouts = {
create = "string"
delete = "string"
update = "string"
}
}
var agentcoreOnlineEvaluationConfigResource = new AgentcoreOnlineEvaluationConfig("agentcoreOnlineEvaluationConfigResource", AgentcoreOnlineEvaluationConfigArgs.builder()
.dataSourceConfig(AgentcoreOnlineEvaluationConfigDataSourceConfigArgs.builder()
.cloudwatchLogs(AgentcoreOnlineEvaluationConfigDataSourceConfigCloudwatchLogsArgs.builder()
.logGroupNames("string")
.serviceNames("string")
.build())
.build())
.enableOnCreate(false)
.evaluationExecutionRoleArn("string")
.evaluators(AgentcoreOnlineEvaluationConfigEvaluatorArgs.builder()
.evaluatorId("string")
.build())
.onlineEvaluationConfigName("string")
.rule(AgentcoreOnlineEvaluationConfigRuleArgs.builder()
.samplingConfig(AgentcoreOnlineEvaluationConfigRuleSamplingConfigArgs.builder()
.samplingPercentage(0.0)
.build())
.filters(AgentcoreOnlineEvaluationConfigRuleFilterArgs.builder()
.key("string")
.operator("string")
.value(AgentcoreOnlineEvaluationConfigRuleFilterValueArgs.builder()
.booleanValue(false)
.doubleValue(0.0)
.stringValue("string")
.build())
.build())
.sessionConfig(AgentcoreOnlineEvaluationConfigRuleSessionConfigArgs.builder()
.sessionTimeoutMinutes(0)
.build())
.build())
.description("string")
.executionStatus("string")
.region("string")
.tags(Map.of("string", "string"))
.timeouts(AgentcoreOnlineEvaluationConfigTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
agentcore_online_evaluation_config_resource = aws.bedrock.AgentcoreOnlineEvaluationConfig("agentcoreOnlineEvaluationConfigResource",
data_source_config={
"cloudwatch_logs": {
"log_group_names": ["string"],
"service_names": ["string"],
},
},
enable_on_create=False,
evaluation_execution_role_arn="string",
evaluators=[{
"evaluator_id": "string",
}],
online_evaluation_config_name="string",
rule={
"sampling_config": {
"sampling_percentage": float(0),
},
"filters": [{
"key": "string",
"operator": "string",
"value": {
"boolean_value": False,
"double_value": float(0),
"string_value": "string",
},
}],
"session_config": {
"session_timeout_minutes": 0,
},
},
description="string",
execution_status="string",
region="string",
tags={
"string": "string",
},
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const agentcoreOnlineEvaluationConfigResource = new aws.bedrock.AgentcoreOnlineEvaluationConfig("agentcoreOnlineEvaluationConfigResource", {
dataSourceConfig: {
cloudwatchLogs: {
logGroupNames: ["string"],
serviceNames: ["string"],
},
},
enableOnCreate: false,
evaluationExecutionRoleArn: "string",
evaluators: [{
evaluatorId: "string",
}],
onlineEvaluationConfigName: "string",
rule: {
samplingConfig: {
samplingPercentage: 0,
},
filters: [{
key: "string",
operator: "string",
value: {
booleanValue: false,
doubleValue: 0,
stringValue: "string",
},
}],
sessionConfig: {
sessionTimeoutMinutes: 0,
},
},
description: "string",
executionStatus: "string",
region: "string",
tags: {
string: "string",
},
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: aws:bedrock:AgentcoreOnlineEvaluationConfig
properties:
dataSourceConfig:
cloudwatchLogs:
logGroupNames:
- string
serviceNames:
- string
description: string
enableOnCreate: false
evaluationExecutionRoleArn: string
evaluators:
- evaluatorId: string
executionStatus: string
onlineEvaluationConfigName: string
region: string
rule:
filters:
- key: string
operator: string
value:
booleanValue: false
doubleValue: 0
stringValue: string
samplingConfig:
samplingPercentage: 0
sessionConfig:
sessionTimeoutMinutes: 0
tags:
string: string
timeouts:
create: string
delete: string
update: string
AgentcoreOnlineEvaluationConfig Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AgentcoreOnlineEvaluationConfig resource accepts the following input properties:
- Data
Source AgentcoreConfig Online Evaluation Config Data Source Config - Data source configuration specifying where to read agent traces. See
dataSourceConfigBlock below. - Enable
On boolCreate - Whether to enable the online evaluation configuration immediately upon creation.
- Evaluation
Execution stringRole Arn - ARN of the IAM role that grants permissions to read from CloudWatch logs, write evaluation results, and invoke Amazon Bedrock models for evaluation.
- Evaluators
List<Agentcore
Online Evaluation Config Evaluator> - List of evaluators to apply during online evaluation. Minimum 1, maximum 10. See
evaluatorBlock below. - Online
Evaluation stringConfig Name - Name of the online evaluation configuration. Must start with a letter and contain only alphanumeric characters and underscores, up to 48 characters.
- Rule
Agentcore
Online Evaluation Config Rule Evaluation rule defining sampling configuration, filters, and session detection settings. See
ruleBlock below.The following arguments are optional:
- Description string
- Description of the online evaluation configuration.
- Execution
Status string - Execution status to enable or disable the online evaluation. Valid values:
ENABLED,DISABLED. Computed on create based onenableOnCreate. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Dictionary<string, string>
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Timeouts
Agentcore
Online Evaluation Config Timeouts
- Data
Source AgentcoreConfig Online Evaluation Config Data Source Config Args - Data source configuration specifying where to read agent traces. See
dataSourceConfigBlock below. - Enable
On boolCreate - Whether to enable the online evaluation configuration immediately upon creation.
- Evaluation
Execution stringRole Arn - ARN of the IAM role that grants permissions to read from CloudWatch logs, write evaluation results, and invoke Amazon Bedrock models for evaluation.
- Evaluators
[]Agentcore
Online Evaluation Config Evaluator Args - List of evaluators to apply during online evaluation. Minimum 1, maximum 10. See
evaluatorBlock below. - Online
Evaluation stringConfig Name - Name of the online evaluation configuration. Must start with a letter and contain only alphanumeric characters and underscores, up to 48 characters.
- Rule
Agentcore
Online Evaluation Config Rule Args Evaluation rule defining sampling configuration, filters, and session detection settings. See
ruleBlock below.The following arguments are optional:
- Description string
- Description of the online evaluation configuration.
- Execution
Status string - Execution status to enable or disable the online evaluation. Valid values:
ENABLED,DISABLED. Computed on create based onenableOnCreate. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- map[string]string
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Timeouts
Agentcore
Online Evaluation Config Timeouts Args
- data_
source_ objectconfig - Data source configuration specifying where to read agent traces. See
dataSourceConfigBlock below. - enable_
on_ boolcreate - Whether to enable the online evaluation configuration immediately upon creation.
- evaluation_
execution_ stringrole_ arn - ARN of the IAM role that grants permissions to read from CloudWatch logs, write evaluation results, and invoke Amazon Bedrock models for evaluation.
- evaluators list(object)
- List of evaluators to apply during online evaluation. Minimum 1, maximum 10. See
evaluatorBlock below. - online_
evaluation_ stringconfig_ name - Name of the online evaluation configuration. Must start with a letter and contain only alphanumeric characters and underscores, up to 48 characters.
- rule object
Evaluation rule defining sampling configuration, filters, and session detection settings. See
ruleBlock below.The following arguments are optional:
- description string
- Description of the online evaluation configuration.
- execution_
status string - Execution status to enable or disable the online evaluation. Valid values:
ENABLED,DISABLED. Computed on create based onenableOnCreate. - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- map(string)
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts object
- data
Source AgentcoreConfig Online Evaluation Config Data Source Config - Data source configuration specifying where to read agent traces. See
dataSourceConfigBlock below. - enable
On BooleanCreate - Whether to enable the online evaluation configuration immediately upon creation.
- evaluation
Execution StringRole Arn - ARN of the IAM role that grants permissions to read from CloudWatch logs, write evaluation results, and invoke Amazon Bedrock models for evaluation.
- evaluators
List<Agentcore
Online Evaluation Config Evaluator> - List of evaluators to apply during online evaluation. Minimum 1, maximum 10. See
evaluatorBlock below. - online
Evaluation StringConfig Name - Name of the online evaluation configuration. Must start with a letter and contain only alphanumeric characters and underscores, up to 48 characters.
- rule
Agentcore
Online Evaluation Config Rule Evaluation rule defining sampling configuration, filters, and session detection settings. See
ruleBlock below.The following arguments are optional:
- description String
- Description of the online evaluation configuration.
- execution
Status String - Execution status to enable or disable the online evaluation. Valid values:
ENABLED,DISABLED. Computed on create based onenableOnCreate. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Map<String,String>
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Agentcore
Online Evaluation Config Timeouts
- data
Source AgentcoreConfig Online Evaluation Config Data Source Config - Data source configuration specifying where to read agent traces. See
dataSourceConfigBlock below. - enable
On booleanCreate - Whether to enable the online evaluation configuration immediately upon creation.
- evaluation
Execution stringRole Arn - ARN of the IAM role that grants permissions to read from CloudWatch logs, write evaluation results, and invoke Amazon Bedrock models for evaluation.
- evaluators
Agentcore
Online Evaluation Config Evaluator[] - List of evaluators to apply during online evaluation. Minimum 1, maximum 10. See
evaluatorBlock below. - online
Evaluation stringConfig Name - Name of the online evaluation configuration. Must start with a letter and contain only alphanumeric characters and underscores, up to 48 characters.
- rule
Agentcore
Online Evaluation Config Rule Evaluation rule defining sampling configuration, filters, and session detection settings. See
ruleBlock below.The following arguments are optional:
- description string
- Description of the online evaluation configuration.
- execution
Status string - Execution status to enable or disable the online evaluation. Valid values:
ENABLED,DISABLED. Computed on create based onenableOnCreate. - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- {[key: string]: string}
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Agentcore
Online Evaluation Config Timeouts
- data_
source_ Agentcoreconfig Online Evaluation Config Data Source Config Args - Data source configuration specifying where to read agent traces. See
dataSourceConfigBlock below. - enable_
on_ boolcreate - Whether to enable the online evaluation configuration immediately upon creation.
- evaluation_
execution_ strrole_ arn - ARN of the IAM role that grants permissions to read from CloudWatch logs, write evaluation results, and invoke Amazon Bedrock models for evaluation.
- evaluators
Sequence[Agentcore
Online Evaluation Config Evaluator Args] - List of evaluators to apply during online evaluation. Minimum 1, maximum 10. See
evaluatorBlock below. - online_
evaluation_ strconfig_ name - Name of the online evaluation configuration. Must start with a letter and contain only alphanumeric characters and underscores, up to 48 characters.
- rule
Agentcore
Online Evaluation Config Rule Args Evaluation rule defining sampling configuration, filters, and session detection settings. See
ruleBlock below.The following arguments are optional:
- description str
- Description of the online evaluation configuration.
- execution_
status str - Execution status to enable or disable the online evaluation. Valid values:
ENABLED,DISABLED. Computed on create based onenableOnCreate. - region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Mapping[str, str]
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Agentcore
Online Evaluation Config Timeouts Args
- data
Source Property MapConfig - Data source configuration specifying where to read agent traces. See
dataSourceConfigBlock below. - enable
On BooleanCreate - Whether to enable the online evaluation configuration immediately upon creation.
- evaluation
Execution StringRole Arn - ARN of the IAM role that grants permissions to read from CloudWatch logs, write evaluation results, and invoke Amazon Bedrock models for evaluation.
- evaluators List<Property Map>
- List of evaluators to apply during online evaluation. Minimum 1, maximum 10. See
evaluatorBlock below. - online
Evaluation StringConfig Name - Name of the online evaluation configuration. Must start with a letter and contain only alphanumeric characters and underscores, up to 48 characters.
- rule Property Map
Evaluation rule defining sampling configuration, filters, and session detection settings. See
ruleBlock below.The following arguments are optional:
- description String
- Description of the online evaluation configuration.
- execution
Status String - Execution status to enable or disable the online evaluation. Valid values:
ENABLED,DISABLED. Computed on create based onenableOnCreate. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Map<String>
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the AgentcoreOnlineEvaluationConfig resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Online
Evaluation stringConfig Arn - ARN of the online evaluation configuration.
- Online
Evaluation stringConfig Id - Unique identifier of the online evaluation configuration.
- Output
Configs List<AgentcoreOnline Evaluation Config Output Config> - Configuration specifying where evaluation results are written. See
outputConfigBlock below. - Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- Id string
- The provider-assigned unique ID for this managed resource.
- Online
Evaluation stringConfig Arn - ARN of the online evaluation configuration.
- Online
Evaluation stringConfig Id - Unique identifier of the online evaluation configuration.
- Output
Configs []AgentcoreOnline Evaluation Config Output Config - Configuration specifying where evaluation results are written. See
outputConfigBlock below. - map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- id string
- The provider-assigned unique ID for this managed resource.
- online_
evaluation_ stringconfig_ arn - ARN of the online evaluation configuration.
- online_
evaluation_ stringconfig_ id - Unique identifier of the online evaluation configuration.
- output_
configs list(object) - Configuration specifying where evaluation results are written. See
outputConfigBlock below. - map(string)
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- id String
- The provider-assigned unique ID for this managed resource.
- online
Evaluation StringConfig Arn - ARN of the online evaluation configuration.
- online
Evaluation StringConfig Id - Unique identifier of the online evaluation configuration.
- output
Configs List<AgentcoreOnline Evaluation Config Output Config> - Configuration specifying where evaluation results are written. See
outputConfigBlock below. - Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- id string
- The provider-assigned unique ID for this managed resource.
- online
Evaluation stringConfig Arn - ARN of the online evaluation configuration.
- online
Evaluation stringConfig Id - Unique identifier of the online evaluation configuration.
- output
Configs AgentcoreOnline Evaluation Config Output Config[] - Configuration specifying where evaluation results are written. See
outputConfigBlock below. - {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- id str
- The provider-assigned unique ID for this managed resource.
- online_
evaluation_ strconfig_ arn - ARN of the online evaluation configuration.
- online_
evaluation_ strconfig_ id - Unique identifier of the online evaluation configuration.
- output_
configs Sequence[AgentcoreOnline Evaluation Config Output Config] - Configuration specifying where evaluation results are written. See
outputConfigBlock below. - Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- id String
- The provider-assigned unique ID for this managed resource.
- online
Evaluation StringConfig Arn - ARN of the online evaluation configuration.
- online
Evaluation StringConfig Id - Unique identifier of the online evaluation configuration.
- output
Configs List<Property Map> - Configuration specifying where evaluation results are written. See
outputConfigBlock below. - Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
Look up Existing AgentcoreOnlineEvaluationConfig Resource
Get an existing AgentcoreOnlineEvaluationConfig resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AgentcoreOnlineEvaluationConfigState, opts?: CustomResourceOptions): AgentcoreOnlineEvaluationConfig@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
data_source_config: Optional[AgentcoreOnlineEvaluationConfigDataSourceConfigArgs] = None,
description: Optional[str] = None,
enable_on_create: Optional[bool] = None,
evaluation_execution_role_arn: Optional[str] = None,
evaluators: Optional[Sequence[AgentcoreOnlineEvaluationConfigEvaluatorArgs]] = None,
execution_status: Optional[str] = None,
online_evaluation_config_arn: Optional[str] = None,
online_evaluation_config_id: Optional[str] = None,
online_evaluation_config_name: Optional[str] = None,
output_configs: Optional[Sequence[AgentcoreOnlineEvaluationConfigOutputConfigArgs]] = None,
region: Optional[str] = None,
rule: Optional[AgentcoreOnlineEvaluationConfigRuleArgs] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
timeouts: Optional[AgentcoreOnlineEvaluationConfigTimeoutsArgs] = None) -> AgentcoreOnlineEvaluationConfigfunc GetAgentcoreOnlineEvaluationConfig(ctx *Context, name string, id IDInput, state *AgentcoreOnlineEvaluationConfigState, opts ...ResourceOption) (*AgentcoreOnlineEvaluationConfig, error)public static AgentcoreOnlineEvaluationConfig Get(string name, Input<string> id, AgentcoreOnlineEvaluationConfigState? state, CustomResourceOptions? opts = null)public static AgentcoreOnlineEvaluationConfig get(String name, Output<String> id, AgentcoreOnlineEvaluationConfigState state, CustomResourceOptions options)resources: _: type: aws:bedrock:AgentcoreOnlineEvaluationConfig get: id: ${id}import {
to = aws_bedrock_agentcoreonlineevaluationconfig.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Data
Source AgentcoreConfig Online Evaluation Config Data Source Config - Data source configuration specifying where to read agent traces. See
dataSourceConfigBlock below. - Description string
- Description of the online evaluation configuration.
- Enable
On boolCreate - Whether to enable the online evaluation configuration immediately upon creation.
- Evaluation
Execution stringRole Arn - ARN of the IAM role that grants permissions to read from CloudWatch logs, write evaluation results, and invoke Amazon Bedrock models for evaluation.
- Evaluators
List<Agentcore
Online Evaluation Config Evaluator> - List of evaluators to apply during online evaluation. Minimum 1, maximum 10. See
evaluatorBlock below. - Execution
Status string - Execution status to enable or disable the online evaluation. Valid values:
ENABLED,DISABLED. Computed on create based onenableOnCreate. - Online
Evaluation stringConfig Arn - ARN of the online evaluation configuration.
- Online
Evaluation stringConfig Id - Unique identifier of the online evaluation configuration.
- Online
Evaluation stringConfig Name - Name of the online evaluation configuration. Must start with a letter and contain only alphanumeric characters and underscores, up to 48 characters.
- Output
Configs List<AgentcoreOnline Evaluation Config Output Config> - Configuration specifying where evaluation results are written. See
outputConfigBlock below. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Rule
Agentcore
Online Evaluation Config Rule Evaluation rule defining sampling configuration, filters, and session detection settings. See
ruleBlock below.The following arguments are optional:
- Dictionary<string, string>
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - Timeouts
Agentcore
Online Evaluation Config Timeouts
- Data
Source AgentcoreConfig Online Evaluation Config Data Source Config Args - Data source configuration specifying where to read agent traces. See
dataSourceConfigBlock below. - Description string
- Description of the online evaluation configuration.
- Enable
On boolCreate - Whether to enable the online evaluation configuration immediately upon creation.
- Evaluation
Execution stringRole Arn - ARN of the IAM role that grants permissions to read from CloudWatch logs, write evaluation results, and invoke Amazon Bedrock models for evaluation.
- Evaluators
[]Agentcore
Online Evaluation Config Evaluator Args - List of evaluators to apply during online evaluation. Minimum 1, maximum 10. See
evaluatorBlock below. - Execution
Status string - Execution status to enable or disable the online evaluation. Valid values:
ENABLED,DISABLED. Computed on create based onenableOnCreate. - Online
Evaluation stringConfig Arn - ARN of the online evaluation configuration.
- Online
Evaluation stringConfig Id - Unique identifier of the online evaluation configuration.
- Online
Evaluation stringConfig Name - Name of the online evaluation configuration. Must start with a letter and contain only alphanumeric characters and underscores, up to 48 characters.
- Output
Configs []AgentcoreOnline Evaluation Config Output Config Args - Configuration specifying where evaluation results are written. See
outputConfigBlock below. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Rule
Agentcore
Online Evaluation Config Rule Args Evaluation rule defining sampling configuration, filters, and session detection settings. See
ruleBlock below.The following arguments are optional:
- map[string]string
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - Timeouts
Agentcore
Online Evaluation Config Timeouts Args
- data_
source_ objectconfig - Data source configuration specifying where to read agent traces. See
dataSourceConfigBlock below. - description string
- Description of the online evaluation configuration.
- enable_
on_ boolcreate - Whether to enable the online evaluation configuration immediately upon creation.
- evaluation_
execution_ stringrole_ arn - ARN of the IAM role that grants permissions to read from CloudWatch logs, write evaluation results, and invoke Amazon Bedrock models for evaluation.
- evaluators list(object)
- List of evaluators to apply during online evaluation. Minimum 1, maximum 10. See
evaluatorBlock below. - execution_
status string - Execution status to enable or disable the online evaluation. Valid values:
ENABLED,DISABLED. Computed on create based onenableOnCreate. - online_
evaluation_ stringconfig_ arn - ARN of the online evaluation configuration.
- online_
evaluation_ stringconfig_ id - Unique identifier of the online evaluation configuration.
- online_
evaluation_ stringconfig_ name - Name of the online evaluation configuration. Must start with a letter and contain only alphanumeric characters and underscores, up to 48 characters.
- output_
configs list(object) - Configuration specifying where evaluation results are written. See
outputConfigBlock below. - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- rule object
Evaluation rule defining sampling configuration, filters, and session detection settings. See
ruleBlock below.The following arguments are optional:
- map(string)
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - map(string)
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - timeouts object
- data
Source AgentcoreConfig Online Evaluation Config Data Source Config - Data source configuration specifying where to read agent traces. See
dataSourceConfigBlock below. - description String
- Description of the online evaluation configuration.
- enable
On BooleanCreate - Whether to enable the online evaluation configuration immediately upon creation.
- evaluation
Execution StringRole Arn - ARN of the IAM role that grants permissions to read from CloudWatch logs, write evaluation results, and invoke Amazon Bedrock models for evaluation.
- evaluators
List<Agentcore
Online Evaluation Config Evaluator> - List of evaluators to apply during online evaluation. Minimum 1, maximum 10. See
evaluatorBlock below. - execution
Status String - Execution status to enable or disable the online evaluation. Valid values:
ENABLED,DISABLED. Computed on create based onenableOnCreate. - online
Evaluation StringConfig Arn - ARN of the online evaluation configuration.
- online
Evaluation StringConfig Id - Unique identifier of the online evaluation configuration.
- online
Evaluation StringConfig Name - Name of the online evaluation configuration. Must start with a letter and contain only alphanumeric characters and underscores, up to 48 characters.
- output
Configs List<AgentcoreOnline Evaluation Config Output Config> - Configuration specifying where evaluation results are written. See
outputConfigBlock below. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- rule
Agentcore
Online Evaluation Config Rule Evaluation rule defining sampling configuration, filters, and session detection settings. See
ruleBlock below.The following arguments are optional:
- Map<String,String>
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - timeouts
Agentcore
Online Evaluation Config Timeouts
- data
Source AgentcoreConfig Online Evaluation Config Data Source Config - Data source configuration specifying where to read agent traces. See
dataSourceConfigBlock below. - description string
- Description of the online evaluation configuration.
- enable
On booleanCreate - Whether to enable the online evaluation configuration immediately upon creation.
- evaluation
Execution stringRole Arn - ARN of the IAM role that grants permissions to read from CloudWatch logs, write evaluation results, and invoke Amazon Bedrock models for evaluation.
- evaluators
Agentcore
Online Evaluation Config Evaluator[] - List of evaluators to apply during online evaluation. Minimum 1, maximum 10. See
evaluatorBlock below. - execution
Status string - Execution status to enable or disable the online evaluation. Valid values:
ENABLED,DISABLED. Computed on create based onenableOnCreate. - online
Evaluation stringConfig Arn - ARN of the online evaluation configuration.
- online
Evaluation stringConfig Id - Unique identifier of the online evaluation configuration.
- online
Evaluation stringConfig Name - Name of the online evaluation configuration. Must start with a letter and contain only alphanumeric characters and underscores, up to 48 characters.
- output
Configs AgentcoreOnline Evaluation Config Output Config[] - Configuration specifying where evaluation results are written. See
outputConfigBlock below. - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- rule
Agentcore
Online Evaluation Config Rule Evaluation rule defining sampling configuration, filters, and session detection settings. See
ruleBlock below.The following arguments are optional:
- {[key: string]: string}
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - timeouts
Agentcore
Online Evaluation Config Timeouts
- data_
source_ Agentcoreconfig Online Evaluation Config Data Source Config Args - Data source configuration specifying where to read agent traces. See
dataSourceConfigBlock below. - description str
- Description of the online evaluation configuration.
- enable_
on_ boolcreate - Whether to enable the online evaluation configuration immediately upon creation.
- evaluation_
execution_ strrole_ arn - ARN of the IAM role that grants permissions to read from CloudWatch logs, write evaluation results, and invoke Amazon Bedrock models for evaluation.
- evaluators
Sequence[Agentcore
Online Evaluation Config Evaluator Args] - List of evaluators to apply during online evaluation. Minimum 1, maximum 10. See
evaluatorBlock below. - execution_
status str - Execution status to enable or disable the online evaluation. Valid values:
ENABLED,DISABLED. Computed on create based onenableOnCreate. - online_
evaluation_ strconfig_ arn - ARN of the online evaluation configuration.
- online_
evaluation_ strconfig_ id - Unique identifier of the online evaluation configuration.
- online_
evaluation_ strconfig_ name - Name of the online evaluation configuration. Must start with a letter and contain only alphanumeric characters and underscores, up to 48 characters.
- output_
configs Sequence[AgentcoreOnline Evaluation Config Output Config Args] - Configuration specifying where evaluation results are written. See
outputConfigBlock below. - region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- rule
Agentcore
Online Evaluation Config Rule Args Evaluation rule defining sampling configuration, filters, and session detection settings. See
ruleBlock below.The following arguments are optional:
- Mapping[str, str]
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - timeouts
Agentcore
Online Evaluation Config Timeouts Args
- data
Source Property MapConfig - Data source configuration specifying where to read agent traces. See
dataSourceConfigBlock below. - description String
- Description of the online evaluation configuration.
- enable
On BooleanCreate - Whether to enable the online evaluation configuration immediately upon creation.
- evaluation
Execution StringRole Arn - ARN of the IAM role that grants permissions to read from CloudWatch logs, write evaluation results, and invoke Amazon Bedrock models for evaluation.
- evaluators List<Property Map>
- List of evaluators to apply during online evaluation. Minimum 1, maximum 10. See
evaluatorBlock below. - execution
Status String - Execution status to enable or disable the online evaluation. Valid values:
ENABLED,DISABLED. Computed on create based onenableOnCreate. - online
Evaluation StringConfig Arn - ARN of the online evaluation configuration.
- online
Evaluation StringConfig Id - Unique identifier of the online evaluation configuration.
- online
Evaluation StringConfig Name - Name of the online evaluation configuration. Must start with a letter and contain only alphanumeric characters and underscores, up to 48 characters.
- output
Configs List<Property Map> - Configuration specifying where evaluation results are written. See
outputConfigBlock below. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- rule Property Map
Evaluation rule defining sampling configuration, filters, and session detection settings. See
ruleBlock below.The following arguments are optional:
- Map<String>
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - timeouts Property Map
Supporting Types
AgentcoreOnlineEvaluationConfigDataSourceConfig, AgentcoreOnlineEvaluationConfigDataSourceConfigArgs
- Cloudwatch
Logs AgentcoreOnline Evaluation Config Data Source Config Cloudwatch Logs - CloudWatch logs configuration for reading agent traces. See
cloudwatchLogsBlock below.
- Cloudwatch
Logs AgentcoreOnline Evaluation Config Data Source Config Cloudwatch Logs - CloudWatch logs configuration for reading agent traces. See
cloudwatchLogsBlock below.
- cloudwatch_
logs object - CloudWatch logs configuration for reading agent traces. See
cloudwatchLogsBlock below.
- cloudwatch
Logs AgentcoreOnline Evaluation Config Data Source Config Cloudwatch Logs - CloudWatch logs configuration for reading agent traces. See
cloudwatchLogsBlock below.
- cloudwatch
Logs AgentcoreOnline Evaluation Config Data Source Config Cloudwatch Logs - CloudWatch logs configuration for reading agent traces. See
cloudwatchLogsBlock below.
- cloudwatch_
logs AgentcoreOnline Evaluation Config Data Source Config Cloudwatch Logs - CloudWatch logs configuration for reading agent traces. See
cloudwatchLogsBlock below.
- cloudwatch
Logs Property Map - CloudWatch logs configuration for reading agent traces. See
cloudwatchLogsBlock below.
AgentcoreOnlineEvaluationConfigDataSourceConfigCloudwatchLogs, AgentcoreOnlineEvaluationConfigDataSourceConfigCloudwatchLogsArgs
- Log
Group List<string>Names - List of CloudWatch log group names to monitor for agent traces. Maximum 5.
- Service
Names List<string> - List of service names to filter traces within the specified log groups.
- Log
Group []stringNames - List of CloudWatch log group names to monitor for agent traces. Maximum 5.
- Service
Names []string - List of service names to filter traces within the specified log groups.
- log_
group_ list(string)names - List of CloudWatch log group names to monitor for agent traces. Maximum 5.
- service_
names list(string) - List of service names to filter traces within the specified log groups.
- log
Group List<String>Names - List of CloudWatch log group names to monitor for agent traces. Maximum 5.
- service
Names List<String> - List of service names to filter traces within the specified log groups.
- log
Group string[]Names - List of CloudWatch log group names to monitor for agent traces. Maximum 5.
- service
Names string[] - List of service names to filter traces within the specified log groups.
- log_
group_ Sequence[str]names - List of CloudWatch log group names to monitor for agent traces. Maximum 5.
- service_
names Sequence[str] - List of service names to filter traces within the specified log groups.
- log
Group List<String>Names - List of CloudWatch log group names to monitor for agent traces. Maximum 5.
- service
Names List<String> - List of service names to filter traces within the specified log groups.
AgentcoreOnlineEvaluationConfigEvaluator, AgentcoreOnlineEvaluationConfigEvaluatorArgs
- Evaluator
Id string - Unique identifier of the evaluator. Can reference builtin evaluators (e.g.,
Builtin.Helpfulness,Builtin.GoalSuccessRate) or custom evaluator IDs.
- Evaluator
Id string - Unique identifier of the evaluator. Can reference builtin evaluators (e.g.,
Builtin.Helpfulness,Builtin.GoalSuccessRate) or custom evaluator IDs.
- evaluator_
id string - Unique identifier of the evaluator. Can reference builtin evaluators (e.g.,
Builtin.Helpfulness,Builtin.GoalSuccessRate) or custom evaluator IDs.
- evaluator
Id String - Unique identifier of the evaluator. Can reference builtin evaluators (e.g.,
Builtin.Helpfulness,Builtin.GoalSuccessRate) or custom evaluator IDs.
- evaluator
Id string - Unique identifier of the evaluator. Can reference builtin evaluators (e.g.,
Builtin.Helpfulness,Builtin.GoalSuccessRate) or custom evaluator IDs.
- evaluator_
id str - Unique identifier of the evaluator. Can reference builtin evaluators (e.g.,
Builtin.Helpfulness,Builtin.GoalSuccessRate) or custom evaluator IDs.
- evaluator
Id String - Unique identifier of the evaluator. Can reference builtin evaluators (e.g.,
Builtin.Helpfulness,Builtin.GoalSuccessRate) or custom evaluator IDs.
AgentcoreOnlineEvaluationConfigOutputConfig, AgentcoreOnlineEvaluationConfigOutputConfigArgs
- Cloudwatch
Configs List<AgentcoreOnline Evaluation Config Output Config Cloudwatch Config> - CloudWatch configuration for evaluation results. See
cloudwatchConfigBlock below.
- Cloudwatch
Configs []AgentcoreOnline Evaluation Config Output Config Cloudwatch Config - CloudWatch configuration for evaluation results. See
cloudwatchConfigBlock below.
- cloudwatch_
configs list(object) - CloudWatch configuration for evaluation results. See
cloudwatchConfigBlock below.
- cloudwatch
Configs List<AgentcoreOnline Evaluation Config Output Config Cloudwatch Config> - CloudWatch configuration for evaluation results. See
cloudwatchConfigBlock below.
- cloudwatch
Configs AgentcoreOnline Evaluation Config Output Config Cloudwatch Config[] - CloudWatch configuration for evaluation results. See
cloudwatchConfigBlock below.
- cloudwatch_
configs Sequence[AgentcoreOnline Evaluation Config Output Config Cloudwatch Config] - CloudWatch configuration for evaluation results. See
cloudwatchConfigBlock below.
- cloudwatch
Configs List<Property Map> - CloudWatch configuration for evaluation results. See
cloudwatchConfigBlock below.
AgentcoreOnlineEvaluationConfigOutputConfigCloudwatchConfig, AgentcoreOnlineEvaluationConfigOutputConfigCloudwatchConfigArgs
- Log
Group stringName - Name of the CloudWatch log group where evaluation results are written.
- Log
Group stringName - Name of the CloudWatch log group where evaluation results are written.
- log_
group_ stringname - Name of the CloudWatch log group where evaluation results are written.
- log
Group StringName - Name of the CloudWatch log group where evaluation results are written.
- log
Group stringName - Name of the CloudWatch log group where evaluation results are written.
- log_
group_ strname - Name of the CloudWatch log group where evaluation results are written.
- log
Group StringName - Name of the CloudWatch log group where evaluation results are written.
AgentcoreOnlineEvaluationConfigRule, AgentcoreOnlineEvaluationConfigRuleArgs
- Sampling
Config AgentcoreOnline Evaluation Config Rule Sampling Config - Sampling configuration determining what percentage of agent traces to evaluate. See
samplingConfigBlock below. - Filters
List<Agentcore
Online Evaluation Config Rule Filter> - List of filters determining which agent traces to evaluate. Maximum 5. See
filterBlock below. - Session
Config AgentcoreOnline Evaluation Config Rule Session Config - Session configuration defining timeout settings for detecting when agent sessions are complete. See
sessionConfigBlock below.
- Sampling
Config AgentcoreOnline Evaluation Config Rule Sampling Config - Sampling configuration determining what percentage of agent traces to evaluate. See
samplingConfigBlock below. - Filters
[]Agentcore
Online Evaluation Config Rule Filter - List of filters determining which agent traces to evaluate. Maximum 5. See
filterBlock below. - Session
Config AgentcoreOnline Evaluation Config Rule Session Config - Session configuration defining timeout settings for detecting when agent sessions are complete. See
sessionConfigBlock below.
- sampling_
config object - Sampling configuration determining what percentage of agent traces to evaluate. See
samplingConfigBlock below. - filters list(object)
- List of filters determining which agent traces to evaluate. Maximum 5. See
filterBlock below. - session_
config object - Session configuration defining timeout settings for detecting when agent sessions are complete. See
sessionConfigBlock below.
- sampling
Config AgentcoreOnline Evaluation Config Rule Sampling Config - Sampling configuration determining what percentage of agent traces to evaluate. See
samplingConfigBlock below. - filters
List<Agentcore
Online Evaluation Config Rule Filter> - List of filters determining which agent traces to evaluate. Maximum 5. See
filterBlock below. - session
Config AgentcoreOnline Evaluation Config Rule Session Config - Session configuration defining timeout settings for detecting when agent sessions are complete. See
sessionConfigBlock below.
- sampling
Config AgentcoreOnline Evaluation Config Rule Sampling Config - Sampling configuration determining what percentage of agent traces to evaluate. See
samplingConfigBlock below. - filters
Agentcore
Online Evaluation Config Rule Filter[] - List of filters determining which agent traces to evaluate. Maximum 5. See
filterBlock below. - session
Config AgentcoreOnline Evaluation Config Rule Session Config - Session configuration defining timeout settings for detecting when agent sessions are complete. See
sessionConfigBlock below.
- sampling_
config AgentcoreOnline Evaluation Config Rule Sampling Config - Sampling configuration determining what percentage of agent traces to evaluate. See
samplingConfigBlock below. - filters
Sequence[Agentcore
Online Evaluation Config Rule Filter] - List of filters determining which agent traces to evaluate. Maximum 5. See
filterBlock below. - session_
config AgentcoreOnline Evaluation Config Rule Session Config - Session configuration defining timeout settings for detecting when agent sessions are complete. See
sessionConfigBlock below.
- sampling
Config Property Map - Sampling configuration determining what percentage of agent traces to evaluate. See
samplingConfigBlock below. - filters List<Property Map>
- List of filters determining which agent traces to evaluate. Maximum 5. See
filterBlock below. - session
Config Property Map - Session configuration defining timeout settings for detecting when agent sessions are complete. See
sessionConfigBlock below.
AgentcoreOnlineEvaluationConfigRuleFilter, AgentcoreOnlineEvaluationConfigRuleFilterArgs
- Key string
- Key or field name to filter on within the agent trace data.
- Operator string
- Comparison operator. Valid values:
Equals,NotEquals,GreaterThan,LessThan,GreaterThanOrEqual,LessThanOrEqual,Contains,NotContains. - Value
Agentcore
Online Evaluation Config Rule Filter Value - Value to compare against. See
valueBlock below.
- Key string
- Key or field name to filter on within the agent trace data.
- Operator string
- Comparison operator. Valid values:
Equals,NotEquals,GreaterThan,LessThan,GreaterThanOrEqual,LessThanOrEqual,Contains,NotContains. - Value
Agentcore
Online Evaluation Config Rule Filter Value - Value to compare against. See
valueBlock below.
- key String
- Key or field name to filter on within the agent trace data.
- operator String
- Comparison operator. Valid values:
Equals,NotEquals,GreaterThan,LessThan,GreaterThanOrEqual,LessThanOrEqual,Contains,NotContains. - value
Agentcore
Online Evaluation Config Rule Filter Value - Value to compare against. See
valueBlock below.
- key string
- Key or field name to filter on within the agent trace data.
- operator string
- Comparison operator. Valid values:
Equals,NotEquals,GreaterThan,LessThan,GreaterThanOrEqual,LessThanOrEqual,Contains,NotContains. - value
Agentcore
Online Evaluation Config Rule Filter Value - Value to compare against. See
valueBlock below.
- key str
- Key or field name to filter on within the agent trace data.
- operator str
- Comparison operator. Valid values:
Equals,NotEquals,GreaterThan,LessThan,GreaterThanOrEqual,LessThanOrEqual,Contains,NotContains. - value
Agentcore
Online Evaluation Config Rule Filter Value - Value to compare against. See
valueBlock below.
- key String
- Key or field name to filter on within the agent trace data.
- operator String
- Comparison operator. Valid values:
Equals,NotEquals,GreaterThan,LessThan,GreaterThanOrEqual,LessThanOrEqual,Contains,NotContains. - value Property Map
- Value to compare against. See
valueBlock below.
AgentcoreOnlineEvaluationConfigRuleFilterValue, AgentcoreOnlineEvaluationConfigRuleFilterValueArgs
- Boolean
Value bool - Boolean value for true/false filtering.
- Double
Value double - Numeric value for numerical filtering.
- String
Value string - String value for text-based filtering.
- Boolean
Value bool - Boolean value for true/false filtering.
- Double
Value float64 - Numeric value for numerical filtering.
- String
Value string - String value for text-based filtering.
- boolean_
value bool - Boolean value for true/false filtering.
- double_
value number - Numeric value for numerical filtering.
- string_
value string - String value for text-based filtering.
- boolean
Value Boolean - Boolean value for true/false filtering.
- double
Value Double - Numeric value for numerical filtering.
- string
Value String - String value for text-based filtering.
- boolean
Value boolean - Boolean value for true/false filtering.
- double
Value number - Numeric value for numerical filtering.
- string
Value string - String value for text-based filtering.
- boolean_
value bool - Boolean value for true/false filtering.
- double_
value float - Numeric value for numerical filtering.
- string_
value str - String value for text-based filtering.
- boolean
Value Boolean - Boolean value for true/false filtering.
- double
Value Number - Numeric value for numerical filtering.
- string
Value String - String value for text-based filtering.
AgentcoreOnlineEvaluationConfigRuleSamplingConfig, AgentcoreOnlineEvaluationConfigRuleSamplingConfigArgs
- Sampling
Percentage double - Percentage of agent traces to sample for evaluation, from 0.01 to 100.
- Sampling
Percentage float64 - Percentage of agent traces to sample for evaluation, from 0.01 to 100.
- sampling_
percentage number - Percentage of agent traces to sample for evaluation, from 0.01 to 100.
- sampling
Percentage Double - Percentage of agent traces to sample for evaluation, from 0.01 to 100.
- sampling
Percentage number - Percentage of agent traces to sample for evaluation, from 0.01 to 100.
- sampling_
percentage float - Percentage of agent traces to sample for evaluation, from 0.01 to 100.
- sampling
Percentage Number - Percentage of agent traces to sample for evaluation, from 0.01 to 100.
AgentcoreOnlineEvaluationConfigRuleSessionConfig, AgentcoreOnlineEvaluationConfigRuleSessionConfigArgs
- Session
Timeout intMinutes - Minutes of inactivity after which a session is considered complete. Between 1 and 60.
- Session
Timeout intMinutes - Minutes of inactivity after which a session is considered complete. Between 1 and 60.
- session_
timeout_ numberminutes - Minutes of inactivity after which a session is considered complete. Between 1 and 60.
- session
Timeout IntegerMinutes - Minutes of inactivity after which a session is considered complete. Between 1 and 60.
- session
Timeout numberMinutes - Minutes of inactivity after which a session is considered complete. Between 1 and 60.
- session_
timeout_ intminutes - Minutes of inactivity after which a session is considered complete. Between 1 and 60.
- session
Timeout NumberMinutes - Minutes of inactivity after which a session is considered complete. Between 1 and 60.
AgentcoreOnlineEvaluationConfigTimeouts, AgentcoreOnlineEvaluationConfigTimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Import
Identity Schema
Required
onlineEvaluationConfigId(String) ID of the online evaluation config.
Optional
accountId(String) AWS Account where this resource is managed.region(String) Region where this resource is managed.
Using pulumi import, import Bedrock AgentCore Online Evaluation Configs using onlineEvaluationConfigId. For example:
$ pulumi import aws:bedrock/agentcoreOnlineEvaluationConfig:AgentcoreOnlineEvaluationConfig example my_evaluation_config-aBcDeFgHiJ
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
published on Friday, May 29, 2026 by Pulumi