Skip to content

Bedrock Agentcore  >  Structures  >  CloudWatchLogsTraceConfig

CloudWatchLogsTraceConfig

Structure Class

CloudWatchLogsTraceConfig dataclass

Configuration for reading agent traces from CloudWatch Logs for recommendation analysis.

Attributes

end_time instance-attribute
end_time: datetime

The end time of the time range to read traces from.

log_group_arns instance-attribute
log_group_arns: list[str]

The list of CloudWatch log group ARNs to read agent traces from.

rule class-attribute instance-attribute
rule: CloudWatchLogsRule | None = None

Optional rule configuration for filtering traces.

service_names instance-attribute
service_names: list[str]

The list of service names to filter traces within the specified log groups.

start_time instance-attribute
start_time: datetime

The start time of the time range to read traces from.