Skip to content

CloudWatchLogsSourceDict

Dictionary Type

CloudWatchLogsSourceDict

Bases: TypedDict

Dictionary form of CloudWatchLogsSource.

Attributes

filter_config instance-attribute

Optional filter configuration to narrow down which sessions to evaluate.

log_group_name_prefixes instance-attribute
log_group_name_prefixes: Sequence[str] | None

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

log_group_names instance-attribute
log_group_names: Sequence[str] | None

The list of CloudWatch log group names to read agent traces from. Maximum of 10 log groups.

service_names instance-attribute
service_names: Required[Sequence[str]]

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