View a markdown version of this page

CloudWatchLogsSource - Amazon Bedrock AgentCore Data Plane

CloudWatchLogsSource

The configuration for reading agent traces from CloudWatch Logs.

Contents

serviceNames

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

Type: Array of strings

Array Members: Fixed number of 1 item.

Required: Yes

filterConfig

Optional filter configuration to narrow down which sessions to evaluate.

Type: CloudWatchFilterConfig object

Required: No

logGroupNamePrefixes

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.

Type: Array of strings

Array Members: Minimum number of 1 item. Maximum number of 5 items.

Length Constraints: Minimum length of 1. Maximum length of 512.

Pattern: [.\-_/#A-Za-z0-9]+

Required: No

logGroupNames

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

Type: Array of strings

Array Members: Minimum number of 0 items. Maximum number of 10 items.

Pattern: [.\-_/#A-Za-z0-9]+

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: