1. Packages
  2. Packages
  3. AWS
  4. API Docs
  5. bedrock
  6. AgentcoreOnlineEvaluationConfig
Viewing docs for AWS v7.32.0
published on Friday, May 29, 2026 by Pulumi
aws logo
Viewing docs for AWS v7.32.0
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:

    DataSourceConfig AgentcoreOnlineEvaluationConfigDataSourceConfig
    Data source configuration specifying where to read agent traces. See dataSourceConfig Block below.
    EnableOnCreate bool
    Whether to enable the online evaluation configuration immediately upon creation.
    EvaluationExecutionRoleArn string
    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<AgentcoreOnlineEvaluationConfigEvaluator>
    List of evaluators to apply during online evaluation. Minimum 1, maximum 10. See evaluator Block below.
    OnlineEvaluationConfigName string
    Name of the online evaluation configuration. Must start with a letter and contain only alphanumeric characters and underscores, up to 48 characters.
    Rule AgentcoreOnlineEvaluationConfigRule

    Evaluation rule defining sampling configuration, filters, and session detection settings. See rule Block below.

    The following arguments are optional:

    Description string
    Description of the online evaluation configuration.
    ExecutionStatus string
    Execution status to enable or disable the online evaluation. Valid values: ENABLED, DISABLED. Computed on create based on enableOnCreate.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Tags Dictionary<string, string>
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    Timeouts AgentcoreOnlineEvaluationConfigTimeouts
    DataSourceConfig AgentcoreOnlineEvaluationConfigDataSourceConfigArgs
    Data source configuration specifying where to read agent traces. See dataSourceConfig Block below.
    EnableOnCreate bool
    Whether to enable the online evaluation configuration immediately upon creation.
    EvaluationExecutionRoleArn string
    ARN of the IAM role that grants permissions to read from CloudWatch logs, write evaluation results, and invoke Amazon Bedrock models for evaluation.
    Evaluators []AgentcoreOnlineEvaluationConfigEvaluatorArgs
    List of evaluators to apply during online evaluation. Minimum 1, maximum 10. See evaluator Block below.
    OnlineEvaluationConfigName string
    Name of the online evaluation configuration. Must start with a letter and contain only alphanumeric characters and underscores, up to 48 characters.
    Rule AgentcoreOnlineEvaluationConfigRuleArgs

    Evaluation rule defining sampling configuration, filters, and session detection settings. See rule Block below.

    The following arguments are optional:

    Description string
    Description of the online evaluation configuration.
    ExecutionStatus string
    Execution status to enable or disable the online evaluation. Valid values: ENABLED, DISABLED. Computed on create based on enableOnCreate.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Tags map[string]string
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    Timeouts AgentcoreOnlineEvaluationConfigTimeoutsArgs
    data_source_config object
    Data source configuration specifying where to read agent traces. See dataSourceConfig Block below.
    enable_on_create bool
    Whether to enable the online evaluation configuration immediately upon creation.
    evaluation_execution_role_arn string
    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 evaluator Block below.
    online_evaluation_config_name string
    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 rule Block 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 on enableOnCreate.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags map(string)
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    timeouts object
    dataSourceConfig AgentcoreOnlineEvaluationConfigDataSourceConfig
    Data source configuration specifying where to read agent traces. See dataSourceConfig Block below.
    enableOnCreate Boolean
    Whether to enable the online evaluation configuration immediately upon creation.
    evaluationExecutionRoleArn String
    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<AgentcoreOnlineEvaluationConfigEvaluator>
    List of evaluators to apply during online evaluation. Minimum 1, maximum 10. See evaluator Block below.
    onlineEvaluationConfigName String
    Name of the online evaluation configuration. Must start with a letter and contain only alphanumeric characters and underscores, up to 48 characters.
    rule AgentcoreOnlineEvaluationConfigRule

    Evaluation rule defining sampling configuration, filters, and session detection settings. See rule Block below.

    The following arguments are optional:

    description String
    Description of the online evaluation configuration.
    executionStatus String
    Execution status to enable or disable the online evaluation. Valid values: ENABLED, DISABLED. Computed on create based on enableOnCreate.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags Map<String,String>
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    timeouts AgentcoreOnlineEvaluationConfigTimeouts
    dataSourceConfig AgentcoreOnlineEvaluationConfigDataSourceConfig
    Data source configuration specifying where to read agent traces. See dataSourceConfig Block below.
    enableOnCreate boolean
    Whether to enable the online evaluation configuration immediately upon creation.
    evaluationExecutionRoleArn string
    ARN of the IAM role that grants permissions to read from CloudWatch logs, write evaluation results, and invoke Amazon Bedrock models for evaluation.
    evaluators AgentcoreOnlineEvaluationConfigEvaluator[]
    List of evaluators to apply during online evaluation. Minimum 1, maximum 10. See evaluator Block below.
    onlineEvaluationConfigName string
    Name of the online evaluation configuration. Must start with a letter and contain only alphanumeric characters and underscores, up to 48 characters.
    rule AgentcoreOnlineEvaluationConfigRule

    Evaluation rule defining sampling configuration, filters, and session detection settings. See rule Block below.

    The following arguments are optional:

    description string
    Description of the online evaluation configuration.
    executionStatus string
    Execution status to enable or disable the online evaluation. Valid values: ENABLED, DISABLED. Computed on create based on enableOnCreate.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags {[key: string]: string}
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    timeouts AgentcoreOnlineEvaluationConfigTimeouts
    data_source_config AgentcoreOnlineEvaluationConfigDataSourceConfigArgs
    Data source configuration specifying where to read agent traces. See dataSourceConfig Block below.
    enable_on_create bool
    Whether to enable the online evaluation configuration immediately upon creation.
    evaluation_execution_role_arn str
    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[AgentcoreOnlineEvaluationConfigEvaluatorArgs]
    List of evaluators to apply during online evaluation. Minimum 1, maximum 10. See evaluator Block below.
    online_evaluation_config_name str
    Name of the online evaluation configuration. Must start with a letter and contain only alphanumeric characters and underscores, up to 48 characters.
    rule AgentcoreOnlineEvaluationConfigRuleArgs

    Evaluation rule defining sampling configuration, filters, and session detection settings. See rule Block 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 on enableOnCreate.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags Mapping[str, str]
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    timeouts AgentcoreOnlineEvaluationConfigTimeoutsArgs
    dataSourceConfig Property Map
    Data source configuration specifying where to read agent traces. See dataSourceConfig Block below.
    enableOnCreate Boolean
    Whether to enable the online evaluation configuration immediately upon creation.
    evaluationExecutionRoleArn String
    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 evaluator Block below.
    onlineEvaluationConfigName String
    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 rule Block below.

    The following arguments are optional:

    description String
    Description of the online evaluation configuration.
    executionStatus String
    Execution status to enable or disable the online evaluation. Valid values: ENABLED, DISABLED. Computed on create based on enableOnCreate.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags Map<String>
    Key-value map of resource tags. If configured with a provider defaultTags configuration 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.
    OnlineEvaluationConfigArn string
    ARN of the online evaluation configuration.
    OnlineEvaluationConfigId string
    Unique identifier of the online evaluation configuration.
    OutputConfigs List<AgentcoreOnlineEvaluationConfigOutputConfig>
    Configuration specifying where evaluation results are written. See outputConfig Block below.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    Id string
    The provider-assigned unique ID for this managed resource.
    OnlineEvaluationConfigArn string
    ARN of the online evaluation configuration.
    OnlineEvaluationConfigId string
    Unique identifier of the online evaluation configuration.
    OutputConfigs []AgentcoreOnlineEvaluationConfigOutputConfig
    Configuration specifying where evaluation results are written. See outputConfig Block below.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    id string
    The provider-assigned unique ID for this managed resource.
    online_evaluation_config_arn string
    ARN of the online evaluation configuration.
    online_evaluation_config_id string
    Unique identifier of the online evaluation configuration.
    output_configs list(object)
    Configuration specifying where evaluation results are written. See outputConfig Block below.
    tags_all map(string)
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    id String
    The provider-assigned unique ID for this managed resource.
    onlineEvaluationConfigArn String
    ARN of the online evaluation configuration.
    onlineEvaluationConfigId String
    Unique identifier of the online evaluation configuration.
    outputConfigs List<AgentcoreOnlineEvaluationConfigOutputConfig>
    Configuration specifying where evaluation results are written. See outputConfig Block below.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    id string
    The provider-assigned unique ID for this managed resource.
    onlineEvaluationConfigArn string
    ARN of the online evaluation configuration.
    onlineEvaluationConfigId string
    Unique identifier of the online evaluation configuration.
    outputConfigs AgentcoreOnlineEvaluationConfigOutputConfig[]
    Configuration specifying where evaluation results are written. See outputConfig Block below.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    id str
    The provider-assigned unique ID for this managed resource.
    online_evaluation_config_arn str
    ARN of the online evaluation configuration.
    online_evaluation_config_id str
    Unique identifier of the online evaluation configuration.
    output_configs Sequence[AgentcoreOnlineEvaluationConfigOutputConfig]
    Configuration specifying where evaluation results are written. See outputConfig Block below.
    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    id String
    The provider-assigned unique ID for this managed resource.
    onlineEvaluationConfigArn String
    ARN of the online evaluation configuration.
    onlineEvaluationConfigId String
    Unique identifier of the online evaluation configuration.
    outputConfigs List<Property Map>
    Configuration specifying where evaluation results are written. See outputConfig Block below.
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration 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) -> AgentcoreOnlineEvaluationConfig
    func 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.
    The following state arguments are supported:
    DataSourceConfig AgentcoreOnlineEvaluationConfigDataSourceConfig
    Data source configuration specifying where to read agent traces. See dataSourceConfig Block below.
    Description string
    Description of the online evaluation configuration.
    EnableOnCreate bool
    Whether to enable the online evaluation configuration immediately upon creation.
    EvaluationExecutionRoleArn string
    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<AgentcoreOnlineEvaluationConfigEvaluator>
    List of evaluators to apply during online evaluation. Minimum 1, maximum 10. See evaluator Block below.
    ExecutionStatus string
    Execution status to enable or disable the online evaluation. Valid values: ENABLED, DISABLED. Computed on create based on enableOnCreate.
    OnlineEvaluationConfigArn string
    ARN of the online evaluation configuration.
    OnlineEvaluationConfigId string
    Unique identifier of the online evaluation configuration.
    OnlineEvaluationConfigName string
    Name of the online evaluation configuration. Must start with a letter and contain only alphanumeric characters and underscores, up to 48 characters.
    OutputConfigs List<AgentcoreOnlineEvaluationConfigOutputConfig>
    Configuration specifying where evaluation results are written. See outputConfig Block below.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Rule AgentcoreOnlineEvaluationConfigRule

    Evaluation rule defining sampling configuration, filters, and session detection settings. See rule Block below.

    The following arguments are optional:

    Tags Dictionary<string, string>
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    Timeouts AgentcoreOnlineEvaluationConfigTimeouts
    DataSourceConfig AgentcoreOnlineEvaluationConfigDataSourceConfigArgs
    Data source configuration specifying where to read agent traces. See dataSourceConfig Block below.
    Description string
    Description of the online evaluation configuration.
    EnableOnCreate bool
    Whether to enable the online evaluation configuration immediately upon creation.
    EvaluationExecutionRoleArn string
    ARN of the IAM role that grants permissions to read from CloudWatch logs, write evaluation results, and invoke Amazon Bedrock models for evaluation.
    Evaluators []AgentcoreOnlineEvaluationConfigEvaluatorArgs
    List of evaluators to apply during online evaluation. Minimum 1, maximum 10. See evaluator Block below.
    ExecutionStatus string
    Execution status to enable or disable the online evaluation. Valid values: ENABLED, DISABLED. Computed on create based on enableOnCreate.
    OnlineEvaluationConfigArn string
    ARN of the online evaluation configuration.
    OnlineEvaluationConfigId string
    Unique identifier of the online evaluation configuration.
    OnlineEvaluationConfigName string
    Name of the online evaluation configuration. Must start with a letter and contain only alphanumeric characters and underscores, up to 48 characters.
    OutputConfigs []AgentcoreOnlineEvaluationConfigOutputConfigArgs
    Configuration specifying where evaluation results are written. See outputConfig Block below.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Rule AgentcoreOnlineEvaluationConfigRuleArgs

    Evaluation rule defining sampling configuration, filters, and session detection settings. See rule Block below.

    The following arguments are optional:

    Tags map[string]string
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    Timeouts AgentcoreOnlineEvaluationConfigTimeoutsArgs
    data_source_config object
    Data source configuration specifying where to read agent traces. See dataSourceConfig Block below.
    description string
    Description of the online evaluation configuration.
    enable_on_create bool
    Whether to enable the online evaluation configuration immediately upon creation.
    evaluation_execution_role_arn string
    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 evaluator Block below.
    execution_status string
    Execution status to enable or disable the online evaluation. Valid values: ENABLED, DISABLED. Computed on create based on enableOnCreate.
    online_evaluation_config_arn string
    ARN of the online evaluation configuration.
    online_evaluation_config_id string
    Unique identifier of the online evaluation configuration.
    online_evaluation_config_name string
    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 outputConfig Block 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 rule Block below.

    The following arguments are optional:

    tags map(string)
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tags_all map(string)
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    timeouts object
    dataSourceConfig AgentcoreOnlineEvaluationConfigDataSourceConfig
    Data source configuration specifying where to read agent traces. See dataSourceConfig Block below.
    description String
    Description of the online evaluation configuration.
    enableOnCreate Boolean
    Whether to enable the online evaluation configuration immediately upon creation.
    evaluationExecutionRoleArn String
    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<AgentcoreOnlineEvaluationConfigEvaluator>
    List of evaluators to apply during online evaluation. Minimum 1, maximum 10. See evaluator Block below.
    executionStatus String
    Execution status to enable or disable the online evaluation. Valid values: ENABLED, DISABLED. Computed on create based on enableOnCreate.
    onlineEvaluationConfigArn String
    ARN of the online evaluation configuration.
    onlineEvaluationConfigId String
    Unique identifier of the online evaluation configuration.
    onlineEvaluationConfigName String
    Name of the online evaluation configuration. Must start with a letter and contain only alphanumeric characters and underscores, up to 48 characters.
    outputConfigs List<AgentcoreOnlineEvaluationConfigOutputConfig>
    Configuration specifying where evaluation results are written. See outputConfig Block below.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    rule AgentcoreOnlineEvaluationConfigRule

    Evaluation rule defining sampling configuration, filters, and session detection settings. See rule Block below.

    The following arguments are optional:

    tags Map<String,String>
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    timeouts AgentcoreOnlineEvaluationConfigTimeouts
    dataSourceConfig AgentcoreOnlineEvaluationConfigDataSourceConfig
    Data source configuration specifying where to read agent traces. See dataSourceConfig Block below.
    description string
    Description of the online evaluation configuration.
    enableOnCreate boolean
    Whether to enable the online evaluation configuration immediately upon creation.
    evaluationExecutionRoleArn string
    ARN of the IAM role that grants permissions to read from CloudWatch logs, write evaluation results, and invoke Amazon Bedrock models for evaluation.
    evaluators AgentcoreOnlineEvaluationConfigEvaluator[]
    List of evaluators to apply during online evaluation. Minimum 1, maximum 10. See evaluator Block below.
    executionStatus string
    Execution status to enable or disable the online evaluation. Valid values: ENABLED, DISABLED. Computed on create based on enableOnCreate.
    onlineEvaluationConfigArn string
    ARN of the online evaluation configuration.
    onlineEvaluationConfigId string
    Unique identifier of the online evaluation configuration.
    onlineEvaluationConfigName string
    Name of the online evaluation configuration. Must start with a letter and contain only alphanumeric characters and underscores, up to 48 characters.
    outputConfigs AgentcoreOnlineEvaluationConfigOutputConfig[]
    Configuration specifying where evaluation results are written. See outputConfig Block below.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    rule AgentcoreOnlineEvaluationConfigRule

    Evaluation rule defining sampling configuration, filters, and session detection settings. See rule Block below.

    The following arguments are optional:

    tags {[key: string]: string}
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    timeouts AgentcoreOnlineEvaluationConfigTimeouts
    data_source_config AgentcoreOnlineEvaluationConfigDataSourceConfigArgs
    Data source configuration specifying where to read agent traces. See dataSourceConfig Block below.
    description str
    Description of the online evaluation configuration.
    enable_on_create bool
    Whether to enable the online evaluation configuration immediately upon creation.
    evaluation_execution_role_arn str
    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[AgentcoreOnlineEvaluationConfigEvaluatorArgs]
    List of evaluators to apply during online evaluation. Minimum 1, maximum 10. See evaluator Block below.
    execution_status str
    Execution status to enable or disable the online evaluation. Valid values: ENABLED, DISABLED. Computed on create based on enableOnCreate.
    online_evaluation_config_arn str
    ARN of the online evaluation configuration.
    online_evaluation_config_id str
    Unique identifier of the online evaluation configuration.
    online_evaluation_config_name str
    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[AgentcoreOnlineEvaluationConfigOutputConfigArgs]
    Configuration specifying where evaluation results are written. See outputConfig Block below.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    rule AgentcoreOnlineEvaluationConfigRuleArgs

    Evaluation rule defining sampling configuration, filters, and session detection settings. See rule Block below.

    The following arguments are optional:

    tags Mapping[str, str]
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    timeouts AgentcoreOnlineEvaluationConfigTimeoutsArgs
    dataSourceConfig Property Map
    Data source configuration specifying where to read agent traces. See dataSourceConfig Block below.
    description String
    Description of the online evaluation configuration.
    enableOnCreate Boolean
    Whether to enable the online evaluation configuration immediately upon creation.
    evaluationExecutionRoleArn String
    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 evaluator Block below.
    executionStatus String
    Execution status to enable or disable the online evaluation. Valid values: ENABLED, DISABLED. Computed on create based on enableOnCreate.
    onlineEvaluationConfigArn String
    ARN of the online evaluation configuration.
    onlineEvaluationConfigId String
    Unique identifier of the online evaluation configuration.
    onlineEvaluationConfigName String
    Name of the online evaluation configuration. Must start with a letter and contain only alphanumeric characters and underscores, up to 48 characters.
    outputConfigs List<Property Map>
    Configuration specifying where evaluation results are written. See outputConfig Block 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 rule Block below.

    The following arguments are optional:

    tags Map<String>
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    timeouts Property Map

    Supporting Types

    AgentcoreOnlineEvaluationConfigDataSourceConfig, AgentcoreOnlineEvaluationConfigDataSourceConfigArgs

    CloudwatchLogs AgentcoreOnlineEvaluationConfigDataSourceConfigCloudwatchLogs
    CloudWatch logs configuration for reading agent traces. See cloudwatchLogs Block below.
    CloudwatchLogs AgentcoreOnlineEvaluationConfigDataSourceConfigCloudwatchLogs
    CloudWatch logs configuration for reading agent traces. See cloudwatchLogs Block below.
    cloudwatch_logs object
    CloudWatch logs configuration for reading agent traces. See cloudwatchLogs Block below.
    cloudwatchLogs AgentcoreOnlineEvaluationConfigDataSourceConfigCloudwatchLogs
    CloudWatch logs configuration for reading agent traces. See cloudwatchLogs Block below.
    cloudwatchLogs AgentcoreOnlineEvaluationConfigDataSourceConfigCloudwatchLogs
    CloudWatch logs configuration for reading agent traces. See cloudwatchLogs Block below.
    cloudwatch_logs AgentcoreOnlineEvaluationConfigDataSourceConfigCloudwatchLogs
    CloudWatch logs configuration for reading agent traces. See cloudwatchLogs Block below.
    cloudwatchLogs Property Map
    CloudWatch logs configuration for reading agent traces. See cloudwatchLogs Block below.

    AgentcoreOnlineEvaluationConfigDataSourceConfigCloudwatchLogs, AgentcoreOnlineEvaluationConfigDataSourceConfigCloudwatchLogsArgs

    LogGroupNames List<string>
    List of CloudWatch log group names to monitor for agent traces. Maximum 5.
    ServiceNames List<string>
    List of service names to filter traces within the specified log groups.
    LogGroupNames []string
    List of CloudWatch log group names to monitor for agent traces. Maximum 5.
    ServiceNames []string
    List of service names to filter traces within the specified log groups.
    log_group_names list(string)
    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.
    logGroupNames List<String>
    List of CloudWatch log group names to monitor for agent traces. Maximum 5.
    serviceNames List<String>
    List of service names to filter traces within the specified log groups.
    logGroupNames string[]
    List of CloudWatch log group names to monitor for agent traces. Maximum 5.
    serviceNames string[]
    List of service names to filter traces within the specified log groups.
    log_group_names Sequence[str]
    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.
    logGroupNames List<String>
    List of CloudWatch log group names to monitor for agent traces. Maximum 5.
    serviceNames List<String>
    List of service names to filter traces within the specified log groups.

    AgentcoreOnlineEvaluationConfigEvaluator, AgentcoreOnlineEvaluationConfigEvaluatorArgs

    EvaluatorId string
    Unique identifier of the evaluator. Can reference builtin evaluators (e.g., Builtin.Helpfulness, Builtin.GoalSuccessRate) or custom evaluator IDs.
    EvaluatorId 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.
    evaluatorId String
    Unique identifier of the evaluator. Can reference builtin evaluators (e.g., Builtin.Helpfulness, Builtin.GoalSuccessRate) or custom evaluator IDs.
    evaluatorId 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.
    evaluatorId String
    Unique identifier of the evaluator. Can reference builtin evaluators (e.g., Builtin.Helpfulness, Builtin.GoalSuccessRate) or custom evaluator IDs.

    AgentcoreOnlineEvaluationConfigOutputConfig, AgentcoreOnlineEvaluationConfigOutputConfigArgs

    CloudwatchConfigs List<AgentcoreOnlineEvaluationConfigOutputConfigCloudwatchConfig>
    CloudWatch configuration for evaluation results. See cloudwatchConfig Block below.
    CloudwatchConfigs []AgentcoreOnlineEvaluationConfigOutputConfigCloudwatchConfig
    CloudWatch configuration for evaluation results. See cloudwatchConfig Block below.
    cloudwatch_configs list(object)
    CloudWatch configuration for evaluation results. See cloudwatchConfig Block below.
    cloudwatchConfigs List<AgentcoreOnlineEvaluationConfigOutputConfigCloudwatchConfig>
    CloudWatch configuration for evaluation results. See cloudwatchConfig Block below.
    cloudwatchConfigs AgentcoreOnlineEvaluationConfigOutputConfigCloudwatchConfig[]
    CloudWatch configuration for evaluation results. See cloudwatchConfig Block below.
    cloudwatch_configs Sequence[AgentcoreOnlineEvaluationConfigOutputConfigCloudwatchConfig]
    CloudWatch configuration for evaluation results. See cloudwatchConfig Block below.
    cloudwatchConfigs List<Property Map>
    CloudWatch configuration for evaluation results. See cloudwatchConfig Block below.

    AgentcoreOnlineEvaluationConfigOutputConfigCloudwatchConfig, AgentcoreOnlineEvaluationConfigOutputConfigCloudwatchConfigArgs

    LogGroupName string
    Name of the CloudWatch log group where evaluation results are written.
    LogGroupName string
    Name of the CloudWatch log group where evaluation results are written.
    log_group_name string
    Name of the CloudWatch log group where evaluation results are written.
    logGroupName String
    Name of the CloudWatch log group where evaluation results are written.
    logGroupName string
    Name of the CloudWatch log group where evaluation results are written.
    log_group_name str
    Name of the CloudWatch log group where evaluation results are written.
    logGroupName String
    Name of the CloudWatch log group where evaluation results are written.

    AgentcoreOnlineEvaluationConfigRule, AgentcoreOnlineEvaluationConfigRuleArgs

    SamplingConfig AgentcoreOnlineEvaluationConfigRuleSamplingConfig
    Sampling configuration determining what percentage of agent traces to evaluate. See samplingConfig Block below.
    Filters List<AgentcoreOnlineEvaluationConfigRuleFilter>
    List of filters determining which agent traces to evaluate. Maximum 5. See filter Block below.
    SessionConfig AgentcoreOnlineEvaluationConfigRuleSessionConfig
    Session configuration defining timeout settings for detecting when agent sessions are complete. See sessionConfig Block below.
    SamplingConfig AgentcoreOnlineEvaluationConfigRuleSamplingConfig
    Sampling configuration determining what percentage of agent traces to evaluate. See samplingConfig Block below.
    Filters []AgentcoreOnlineEvaluationConfigRuleFilter
    List of filters determining which agent traces to evaluate. Maximum 5. See filter Block below.
    SessionConfig AgentcoreOnlineEvaluationConfigRuleSessionConfig
    Session configuration defining timeout settings for detecting when agent sessions are complete. See sessionConfig Block below.
    sampling_config object
    Sampling configuration determining what percentage of agent traces to evaluate. See samplingConfig Block below.
    filters list(object)
    List of filters determining which agent traces to evaluate. Maximum 5. See filter Block below.
    session_config object
    Session configuration defining timeout settings for detecting when agent sessions are complete. See sessionConfig Block below.
    samplingConfig AgentcoreOnlineEvaluationConfigRuleSamplingConfig
    Sampling configuration determining what percentage of agent traces to evaluate. See samplingConfig Block below.
    filters List<AgentcoreOnlineEvaluationConfigRuleFilter>
    List of filters determining which agent traces to evaluate. Maximum 5. See filter Block below.
    sessionConfig AgentcoreOnlineEvaluationConfigRuleSessionConfig
    Session configuration defining timeout settings for detecting when agent sessions are complete. See sessionConfig Block below.
    samplingConfig AgentcoreOnlineEvaluationConfigRuleSamplingConfig
    Sampling configuration determining what percentage of agent traces to evaluate. See samplingConfig Block below.
    filters AgentcoreOnlineEvaluationConfigRuleFilter[]
    List of filters determining which agent traces to evaluate. Maximum 5. See filter Block below.
    sessionConfig AgentcoreOnlineEvaluationConfigRuleSessionConfig
    Session configuration defining timeout settings for detecting when agent sessions are complete. See sessionConfig Block below.
    sampling_config AgentcoreOnlineEvaluationConfigRuleSamplingConfig
    Sampling configuration determining what percentage of agent traces to evaluate. See samplingConfig Block below.
    filters Sequence[AgentcoreOnlineEvaluationConfigRuleFilter]
    List of filters determining which agent traces to evaluate. Maximum 5. See filter Block below.
    session_config AgentcoreOnlineEvaluationConfigRuleSessionConfig
    Session configuration defining timeout settings for detecting when agent sessions are complete. See sessionConfig Block below.
    samplingConfig Property Map
    Sampling configuration determining what percentage of agent traces to evaluate. See samplingConfig Block below.
    filters List<Property Map>
    List of filters determining which agent traces to evaluate. Maximum 5. See filter Block below.
    sessionConfig Property Map
    Session configuration defining timeout settings for detecting when agent sessions are complete. See sessionConfig Block 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 AgentcoreOnlineEvaluationConfigRuleFilterValue
    Value to compare against. See value Block 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 AgentcoreOnlineEvaluationConfigRuleFilterValue
    Value to compare against. See value Block 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 object
    Value to compare against. See value Block 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 AgentcoreOnlineEvaluationConfigRuleFilterValue
    Value to compare against. See value Block 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 AgentcoreOnlineEvaluationConfigRuleFilterValue
    Value to compare against. See value Block 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 AgentcoreOnlineEvaluationConfigRuleFilterValue
    Value to compare against. See value Block 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 value Block below.

    AgentcoreOnlineEvaluationConfigRuleFilterValue, AgentcoreOnlineEvaluationConfigRuleFilterValueArgs

    BooleanValue bool
    Boolean value for true/false filtering.
    DoubleValue double
    Numeric value for numerical filtering.
    StringValue string
    String value for text-based filtering.
    BooleanValue bool
    Boolean value for true/false filtering.
    DoubleValue float64
    Numeric value for numerical filtering.
    StringValue 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.
    booleanValue Boolean
    Boolean value for true/false filtering.
    doubleValue Double
    Numeric value for numerical filtering.
    stringValue String
    String value for text-based filtering.
    booleanValue boolean
    Boolean value for true/false filtering.
    doubleValue number
    Numeric value for numerical filtering.
    stringValue 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.
    booleanValue Boolean
    Boolean value for true/false filtering.
    doubleValue Number
    Numeric value for numerical filtering.
    stringValue String
    String value for text-based filtering.

    AgentcoreOnlineEvaluationConfigRuleSamplingConfig, AgentcoreOnlineEvaluationConfigRuleSamplingConfigArgs

    SamplingPercentage double
    Percentage of agent traces to sample for evaluation, from 0.01 to 100.
    SamplingPercentage 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.
    samplingPercentage Double
    Percentage of agent traces to sample for evaluation, from 0.01 to 100.
    samplingPercentage 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.
    samplingPercentage Number
    Percentage of agent traces to sample for evaluation, from 0.01 to 100.

    AgentcoreOnlineEvaluationConfigRuleSessionConfig, AgentcoreOnlineEvaluationConfigRuleSessionConfigArgs

    SessionTimeoutMinutes int
    Minutes of inactivity after which a session is considered complete. Between 1 and 60.
    SessionTimeoutMinutes int
    Minutes of inactivity after which a session is considered complete. Between 1 and 60.
    session_timeout_minutes number
    Minutes of inactivity after which a session is considered complete. Between 1 and 60.
    sessionTimeoutMinutes Integer
    Minutes of inactivity after which a session is considered complete. Between 1 and 60.
    sessionTimeoutMinutes number
    Minutes of inactivity after which a session is considered complete. Between 1 and 60.
    session_timeout_minutes int
    Minutes of inactivity after which a session is considered complete. Between 1 and 60.
    sessionTimeoutMinutes Number
    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 aws Terraform Provider.
    aws logo
    Viewing docs for AWS v7.32.0
    published on Friday, May 29, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial