CloudWatchOutputConfig
CloudWatch Logs destination for batch evaluation results.
Contents
- logGroupName
-
The name of the CloudWatch log group where evaluation results will be written. This value doesn't apply when
resultDestinationisSOURCE_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.Type: String
Pattern:
$|^[.\-_/#A-Za-z0-9]+Required: No
- logStreamName
-
The name of the CloudWatch log stream where evaluation results will be written.
Type: String
Pattern:
[^:*]*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: