Skip to content

Bedrock AgentCore Control  >  Structures  >  CloudWatchLogsInputConfig

CloudWatchLogsInputConfig

Structure Class

CloudWatchLogsInputConfig dataclass

The configuration for reading agent traces from CloudWatch logs as input for online evaluation.

Attributes

log_group_name_prefixes class-attribute instance-attribute
log_group_name_prefixes: list[str] | None = None

The list of CloudWatch log group name prefixes to monitor for agent traces. Specify this instead of logGroupNames to match log groups by prefix. Specify either logGroupNames or logGroupNamePrefixes, not both. One of the two is required.

log_group_names class-attribute instance-attribute
log_group_names: list[str] = field(default_factory=list[str])

The list of CloudWatch log group names to monitor for agent traces.

service_names instance-attribute
service_names: list[str]

The list of service names to filter traces within the specified log groups. Used to identify relevant agent sessions.