Skip to content

CloudWatchLogsInputConfigDict

Dictionary Type

CloudWatchLogsInputConfigDict

Bases: TypedDict

Dictionary form of CloudWatchLogsInputConfig.

Attributes

log_group_name_prefixes instance-attribute
log_group_name_prefixes: Sequence[str] | 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 instance-attribute
log_group_names: Sequence[str] | None

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

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

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