Skip to content

/AWS1/CL_BDCCLOUDWATCHOUTCFG

CloudWatch Logs destination for batch evaluation results.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_loggroupname TYPE /AWS1/BDCOPTIONALLOGGROUPNAME /AWS1/BDCOPTIONALLOGGROUPNAME

The name of the CloudWatch log group where evaluation results will be written. This value doesn't apply when resultDestination is SOURCE_LOG_GROUP, because results are written back to the trace source log group. The name can't be under the service-reserved /aws/bedrock-agentcore/evaluations/ namespace, apart from the service-managed default group.

iv_logstreamname TYPE /AWS1/BDCLOGSTREAMNAME /AWS1/BDCLOGSTREAMNAME

The name of the CloudWatch log stream where evaluation results will be written.

iv_metricsnamespace TYPE /AWS1/BDCMETRICSNAMESPACE /AWS1/BDCMETRICSNAMESPACE

The CloudWatch metrics namespace where evaluation result metrics are published. If you omit this value, the service publishes metrics to Bedrock-AgentCore/Evaluations. This value can't begin with AWS/.

iv_resultdestination TYPE /AWS1/BDCRESULTDESTINATION /AWS1/BDCRESULTDESTINATION

The destination where evaluation results are written. Valid values:

  • DEDICATED_LOG_GROUP (default) – Writes results to a dedicated result log group.

  • SOURCE_LOG_GROUP – Writes results back to the log group that the agent traces were read from. If you use this value, don't specify logGroupName.


Queryable Attributes

logGroupName

The name of the CloudWatch log group where evaluation results will be written. This value doesn't apply when resultDestination is SOURCE_LOG_GROUP, because results are written back to the trace source log group. The name can't be under the service-reserved /aws/bedrock-agentcore/evaluations/ namespace, apart from the service-managed default group.

Accessible with the following methods

Method Description
GET_LOGGROUPNAME() Getter for LOGGROUPNAME, with configurable default
ASK_LOGGROUPNAME() Getter for LOGGROUPNAME w/ exceptions if field has no value
HAS_LOGGROUPNAME() Determine if LOGGROUPNAME has a value

logStreamName

The name of the CloudWatch log stream where evaluation results will be written.

Accessible with the following methods

Method Description
GET_LOGSTREAMNAME() Getter for LOGSTREAMNAME, with configurable default
ASK_LOGSTREAMNAME() Getter for LOGSTREAMNAME w/ exceptions if field has no value
HAS_LOGSTREAMNAME() Determine if LOGSTREAMNAME has a value

metricsNamespace

The CloudWatch metrics namespace where evaluation result metrics are published. If you omit this value, the service publishes metrics to Bedrock-AgentCore/Evaluations. This value can't begin with AWS/.

Accessible with the following methods

Method Description
GET_METRICSNAMESPACE() Getter for METRICSNAMESPACE, with configurable default
ASK_METRICSNAMESPACE() Getter for METRICSNAMESPACE w/ exceptions if field has no va
HAS_METRICSNAMESPACE() Determine if METRICSNAMESPACE has a value

resultDestination

The destination where evaluation results are written. Valid values:

  • DEDICATED_LOG_GROUP (default) – Writes results to a dedicated result log group.

  • SOURCE_LOG_GROUP – Writes results back to the log group that the agent traces were read from. If you use this value, don't specify logGroupName.

Accessible with the following methods

Method Description
GET_RESULTDESTINATION() Getter for RESULTDESTINATION, with configurable default
ASK_RESULTDESTINATION() Getter for RESULTDESTINATION w/ exceptions if field has no v
HAS_RESULTDESTINATION() Determine if RESULTDESTINATION has a value