CloudWatchOutputConfig
The configuration for writing evaluation results to CloudWatch logs with embedded metric format (EMF) for monitoring.
Contents
- logGroupName
-
The name of the CloudWatch log group where evaluation results will be written. An existing log group is used as-is; otherwise the service creates it, which requires the evaluation execution role to grant
logs:CreateLogGroupon the log group. Don't specify this value whenresultDestinationisSOURCE_LOG_GROUP. The name can't be under the service-reserved/aws/bedrock-agentcore/evaluations/namespace, apart from this configuration's own service-managed default group.Type: String
Pattern:
$|^[.\-_/#A-Za-z0-9]+Required: No
- 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 withAWS/.Type: String
Length Constraints: Minimum length of 1. Maximum length of 255.
Pattern:
[a-zA-Z0-9._#/:-]+Required: No
- 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 specifylogGroupName.
Type: String
Valid Values:
DEDICATED_LOG_GROUP | SOURCE_LOG_GROUPRequired: No
-
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: