View a markdown version of this page

CloudWatchLogsInputConfig - Amazon Bedrock AgentCore Control Plane

CloudWatchLogsInputConfig

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

Contents

serviceNames

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

Type: Array of strings

Array Members: Fixed number of 1 item.

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

Pattern: [a-zA-Z0-9._-]+

Required: Yes

logGroupNamePrefixes

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.

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 monitor for agent traces.

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: