CfnOnlineEvaluationConfigMixinProps

class aws_cdk.cfn_property_mixins.aws_bedrockagentcore.CfnOnlineEvaluationConfigMixinProps(*, data_source_config=None, description=None, evaluation_execution_role_arn=None, evaluators=None, online_evaluation_config_name=None, rule=None, tags=None)

Bases: object

Properties for CfnOnlineEvaluationConfigPropsMixin.

Parameters:
  • data_source_config (Union[IResolvable, DataSourceConfigProperty, Dict[str, Any], None]) – The configuration that specifies where to read agent traces for online evaluation.

  • description (Optional[str]) – The description of the online evaluation configuration.

  • evaluation_execution_role_arn (Optional[str]) – The Amazon Resource Name (ARN) of the IAM role that grants permissions for evaluation.

  • evaluators (Union[IResolvable, Sequence[Union[IResolvable, EvaluatorReferenceProperty, Dict[str, Any]]], None]) – The list of evaluators to apply during online evaluation.

  • online_evaluation_config_name (Optional[str]) – The name of the online evaluation configuration. Must be unique within your account.

  • rule (Union[IResolvable, RuleProperty, Dict[str, Any], None]) – The evaluation rule that defines sampling configuration, filtering criteria, and session detection settings.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – A list of tags to assign to the online evaluation configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-onlineevaluationconfig.html

ExampleMetadata:

fixture=_generated

Example:

from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore

cfn_online_evaluation_config_mixin_props = bedrockagentcore.CfnOnlineEvaluationConfigMixinProps(
    data_source_config=bedrockagentcore.CfnOnlineEvaluationConfigPropsMixin.DataSourceConfigProperty(
        cloud_watch_logs=bedrockagentcore.CfnOnlineEvaluationConfigPropsMixin.CloudWatchLogsInputConfigProperty(
            log_group_names=["logGroupNames"],
            service_names=["serviceNames"]
        )
    ),
    description="description",
    evaluation_execution_role_arn="evaluationExecutionRoleArn",
    evaluators=[bedrockagentcore.CfnOnlineEvaluationConfigPropsMixin.EvaluatorReferenceProperty(
        evaluator_id="evaluatorId"
    )],
    online_evaluation_config_name="onlineEvaluationConfigName",
    rule=bedrockagentcore.CfnOnlineEvaluationConfigPropsMixin.RuleProperty(
        filters=[bedrockagentcore.CfnOnlineEvaluationConfigPropsMixin.FilterProperty(
            key="key",
            operator="operator",
            value=bedrockagentcore.CfnOnlineEvaluationConfigPropsMixin.FilterValueProperty(
                boolean_value=False,
                double_value=123,
                string_value="stringValue"
            )
        )],
        sampling_config=bedrockagentcore.CfnOnlineEvaluationConfigPropsMixin.SamplingConfigProperty(
            sampling_percentage=123
        ),
        session_config=bedrockagentcore.CfnOnlineEvaluationConfigPropsMixin.SessionConfigProperty(
            session_timeout_minutes=123
        )
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

data_source_config

The configuration that specifies where to read agent traces for online evaluation.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-onlineevaluationconfig.html#cfn-bedrockagentcore-onlineevaluationconfig-datasourceconfig

description

The description of the online evaluation configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-onlineevaluationconfig.html#cfn-bedrockagentcore-onlineevaluationconfig-description

evaluation_execution_role_arn

The Amazon Resource Name (ARN) of the IAM role that grants permissions for evaluation.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-onlineevaluationconfig.html#cfn-bedrockagentcore-onlineevaluationconfig-evaluationexecutionrolearn

evaluators

The list of evaluators to apply during online evaluation.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-onlineevaluationconfig.html#cfn-bedrockagentcore-onlineevaluationconfig-evaluators

online_evaluation_config_name

The name of the online evaluation configuration.

Must be unique within your account.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-onlineevaluationconfig.html#cfn-bedrockagentcore-onlineevaluationconfig-onlineevaluationconfigname

rule

The evaluation rule that defines sampling configuration, filtering criteria, and session detection settings.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-onlineevaluationconfig.html#cfn-bedrockagentcore-onlineevaluationconfig-rule

tags

A list of tags to assign to the online evaluation configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-onlineevaluationconfig.html#cfn-bedrockagentcore-onlineevaluationconfig-tags