Interface CloudWatchLogsDataSourceConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CloudWatchLogsDataSourceConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.129.0 (build eaca441)",
date="2026-05-19T08:18:44.368Z")
@Stability(Stable)
public interface CloudWatchLogsDataSourceConfig
extends software.amazon.jsii.JsiiSerializable
Configuration for CloudWatch Logs data source.
Example:
OnlineEvaluationConfig evaluation = OnlineEvaluationConfig.Builder.create(this, "MyEvaluation")
.onlineEvaluationConfigName("my_evaluation")
.evaluators(List.of(EvaluatorSelector.builtin(BuiltinEvaluator.HELPFULNESS), EvaluatorSelector.builtin(BuiltinEvaluator.CORRECTNESS)))
.dataSource(DataSourceConfig.fromCloudWatchLogs(CloudWatchLogsDataSourceConfig.builder()
.logGroupNames(List.of("/aws/bedrock-agentcore/my-agent"))
.serviceNames(List.of("my-agent.default"))
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCloudWatchLogsDataSourceConfigstatic final classAn implementation forCloudWatchLogsDataSourceConfig -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The list of CloudWatch log group names to monitor for agent traces.The list of service names to filter traces within the specified log groups.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLogGroupNames
The list of CloudWatch log group names to monitor for agent traces. -
getServiceNames
The list of service names to filter traces within the specified log groups. Used to identify relevant agent sessions.For agents hosted on AgentCore Runtime, service name follows the format:
<agent-runtime-name>.<agent-runtime-endpoint-name> -
builder
-