CfnOnlineEvaluationConfigProps
- class aws_cdk.aws_bedrockagentcore.CfnOnlineEvaluationConfigProps(*, data_source_config, evaluation_execution_role_arn, evaluators, online_evaluation_config_name, rule, description=None, tags=None)
Bases:
objectProperties for defining a
CfnOnlineEvaluationConfig.- Parameters:
data_source_config (
Union[IResolvable,DataSourceConfigProperty,Dict[str,Any]]) – The configuration that specifies where to read agent traces for online evaluation.evaluation_execution_role_arn (
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]]]]) – The list of evaluators to apply during online evaluation.online_evaluation_config_name (
str) – The name of the online evaluation configuration. Must be unique within your account.rule (
Union[IResolvable,RuleProperty,Dict[str,Any]]) – The evaluation rule that defines sampling configuration, filtering criteria, and session detection settings.description (
Optional[str]) – The description of the online evaluation configuration.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – A list of tags to assign to the online evaluation configuration.
- See:
- 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 import aws_bedrockagentcore as bedrockagentcore cfn_online_evaluation_config_props = bedrockagentcore.CfnOnlineEvaluationConfigProps( data_source_config=bedrockagentcore.CfnOnlineEvaluationConfig.DataSourceConfigProperty( cloud_watch_logs=bedrockagentcore.CfnOnlineEvaluationConfig.CloudWatchLogsInputConfigProperty( log_group_names=["logGroupNames"], service_names=["serviceNames"] ) ), evaluation_execution_role_arn="evaluationExecutionRoleArn", evaluators=[bedrockagentcore.CfnOnlineEvaluationConfig.EvaluatorReferenceProperty( evaluator_id="evaluatorId" )], online_evaluation_config_name="onlineEvaluationConfigName", rule=bedrockagentcore.CfnOnlineEvaluationConfig.RuleProperty( sampling_config=bedrockagentcore.CfnOnlineEvaluationConfig.SamplingConfigProperty( sampling_percentage=123 ), # the properties below are optional filters=[bedrockagentcore.CfnOnlineEvaluationConfig.FilterProperty( key="key", operator="operator", value=bedrockagentcore.CfnOnlineEvaluationConfig.FilterValueProperty( boolean_value=False, double_value=123, string_value="stringValue" ) )], session_config=bedrockagentcore.CfnOnlineEvaluationConfig.SessionConfigProperty( session_timeout_minutes=123 ) ), # the properties below are optional description="description", tags=[CfnTag( key="key", value="value" )] )
Attributes
- data_source_config
The configuration that specifies where to read agent traces for online evaluation.
- description
The description of the online evaluation configuration.
- evaluation_execution_role_arn
The Amazon Resource Name (ARN) of the IAM role that grants permissions for evaluation.
- evaluators
The list of evaluators to apply during online evaluation.
- online_evaluation_config_name
The name of the online evaluation configuration.
Must be unique within your account.
- rule
The evaluation rule that defines sampling configuration, filtering criteria, and session detection settings.
- tags
A list of tags to assign to the online evaluation configuration.