Class CfnOnlineEvaluationConfig
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.bedrockagentcore.CfnOnlineEvaluationConfig
- All Implemented Interfaces:
IInspectable,IOnlineEvaluationConfigRef,IEnvironmentAware,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-19T12:55:00.029Z")
@Stability(Stable)
public class CfnOnlineEvaluationConfig
extends CfnResource
implements IInspectable, IOnlineEvaluationConfigRef, ITaggableV2
Resource Type definition for AWS::BedrockAgentCore::OnlineEvaluationConfig - Creates an online evaluation configuration for continuous monitoring of agent performance.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrockagentcore.*;
CfnOnlineEvaluationConfig cfnOnlineEvaluationConfig = CfnOnlineEvaluationConfig.Builder.create(this, "MyCfnOnlineEvaluationConfig")
.dataSourceConfig(DataSourceConfigProperty.builder()
.cloudWatchLogs(CloudWatchLogsInputConfigProperty.builder()
.logGroupNames(List.of("logGroupNames"))
.serviceNames(List.of("serviceNames"))
.build())
.build())
.evaluationExecutionRoleArn("evaluationExecutionRoleArn")
.evaluators(List.of(EvaluatorReferenceProperty.builder()
.evaluatorId("evaluatorId")
.build()))
.onlineEvaluationConfigName("onlineEvaluationConfigName")
.rule(RuleProperty.builder()
.samplingConfig(SamplingConfigProperty.builder()
.samplingPercentage(123)
.build())
// the properties below are optional
.filters(List.of(FilterProperty.builder()
.key("key")
.operator("operator")
.value(FilterValueProperty.builder()
.booleanValue(false)
.doubleValue(123)
.stringValue("stringValue")
.build())
.build()))
.sessionConfig(SessionConfigProperty.builder()
.sessionTimeoutMinutes(123)
.build())
.build())
// the properties below are optional
.description("description")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnOnlineEvaluationConfig.static interfaceThe configuration for reading agent traces from CloudWatch logs.static interfaceThe CloudWatch configuration for writing evaluation results.static interfaceThe configuration that specifies where to read agent traces for online evaluation.static interfaceThe reference to an evaluator used in online evaluation configurations.static interfaceThe filter that applies conditions to agent traces during online evaluation.static interfaceThe value used in filter comparisons.static interfaceThe configuration that specifies where evaluation results should be written.static interfaceThe evaluation rule that defines sampling configuration, filtering criteria, and session detection settings.static interfaceThe configuration that controls what percentage of agent traces are sampled for evaluation.static interfaceThe configuration that defines how agent sessions are detected.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.bedrockagentcore.IOnlineEvaluationConfigRef
IOnlineEvaluationConfigRef.Jsii$Default, IOnlineEvaluationConfigRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnOnlineEvaluationConfig(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnOnlineEvaluationConfig(software.amazon.jsii.JsiiObjectRef objRef) CfnOnlineEvaluationConfig(software.constructs.Construct scope, String id, CfnOnlineEvaluationConfigProps props) Create a newAWS::BedrockAgentCore::OnlineEvaluationConfig. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringThe timestamp when the online evaluation configuration was created.The Amazon Resource Name (ARN) of the online evaluation configuration.The unique identifier of the online evaluation configuration.The configuration that specifies where evaluation results should be written.The timestamp when the online evaluation configuration was last updated.Tag Manager which manages the tags for this resource.The configuration that specifies where to read agent traces for online evaluation.The description of the online evaluation configuration.The Amazon Resource Name (ARN) of the IAM role that grants permissions for evaluation.The list of evaluators to apply during online evaluation.The name of the online evaluation configuration.A reference to a OnlineEvaluationConfig resource.getRule()The evaluation rule that defines sampling configuration, filtering criteria, and session detection settings.getTags()A list of tags to assign to the online evaluation configuration.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnOnlineEvaluationConfig.renderProperties(Map<String, Object> props) voidsetDataSourceConfig(IResolvable value) The configuration that specifies where to read agent traces for online evaluation.voidThe configuration that specifies where to read agent traces for online evaluation.voidsetDescription(String value) The description of the online evaluation configuration.voidThe Amazon Resource Name (ARN) of the IAM role that grants permissions for evaluation.voidsetEvaluators(List<Object> value) The list of evaluators to apply during online evaluation.voidsetEvaluators(IResolvable value) The list of evaluators to apply during online evaluation.voidThe name of the online evaluation configuration.voidsetRule(IResolvable value) The evaluation rule that defines sampling configuration, filtering criteria, and session detection settings.voidThe evaluation rule that defines sampling configuration, filtering criteria, and session detection settings.voidA list of tags to assign to the online evaluation configuration.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnOnlineEvaluationConfig
protected CfnOnlineEvaluationConfig(software.amazon.jsii.JsiiObjectRef objRef) -
CfnOnlineEvaluationConfig
protected CfnOnlineEvaluationConfig(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnOnlineEvaluationConfig
@Stability(Stable) public CfnOnlineEvaluationConfig(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnOnlineEvaluationConfigProps props) Create a newAWS::BedrockAgentCore::OnlineEvaluationConfig.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
arnForOnlineEvaluationConfig
@Stability(Stable) @NotNull public static String arnForOnlineEvaluationConfig(@NotNull IOnlineEvaluationConfigRef resource) - Parameters:
resource- This parameter is required.
-
isCfnOnlineEvaluationConfig
Checks whether the given object is a CfnOnlineEvaluationConfig.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrCreatedAt
The timestamp when the online evaluation configuration was created. -
getAttrExecutionStatus
-
getAttrOnlineEvaluationConfigArn
The Amazon Resource Name (ARN) of the online evaluation configuration. -
getAttrOnlineEvaluationConfigId
The unique identifier of the online evaluation configuration. -
getAttrOutputConfig
The configuration that specifies where evaluation results should be written. -
getAttrStatus
-
getAttrUpdatedAt
The timestamp when the online evaluation configuration was last updated. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getOnlineEvaluationConfigRef
A reference to a OnlineEvaluationConfig resource.- Specified by:
getOnlineEvaluationConfigRefin interfaceIOnlineEvaluationConfigRef
-
getDataSourceConfig
The configuration that specifies where to read agent traces for online evaluation.Returns union: either
IResolvableorCfnOnlineEvaluationConfig.DataSourceConfigProperty -
setDataSourceConfig
The configuration that specifies where to read agent traces for online evaluation. -
setDataSourceConfig
@Stability(Stable) public void setDataSourceConfig(@NotNull CfnOnlineEvaluationConfig.DataSourceConfigProperty value) The configuration that specifies where to read agent traces for online evaluation. -
getEvaluationExecutionRoleArn
The Amazon Resource Name (ARN) of the IAM role that grants permissions for evaluation. -
setEvaluationExecutionRoleArn
The Amazon Resource Name (ARN) of the IAM role that grants permissions for evaluation. -
getEvaluators
The list of evaluators to apply during online evaluation.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnOnlineEvaluationConfig.EvaluatorReferenceProperty> -
setEvaluators
The list of evaluators to apply during online evaluation. -
setEvaluators
The list of evaluators to apply during online evaluation. -
getOnlineEvaluationConfigName
The name of the online evaluation configuration. -
setOnlineEvaluationConfigName
The name of the online evaluation configuration. -
getRule
The evaluation rule that defines sampling configuration, filtering criteria, and session detection settings.Returns union: either
IResolvableorCfnOnlineEvaluationConfig.RuleProperty -
setRule
The evaluation rule that defines sampling configuration, filtering criteria, and session detection settings. -
setRule
The evaluation rule that defines sampling configuration, filtering criteria, and session detection settings. -
getDescription
The description of the online evaluation configuration. -
setDescription
The description of the online evaluation configuration. -
getTags
A list of tags to assign to the online evaluation configuration. -
setTags
A list of tags to assign to the online evaluation configuration.
-