CloudWatchLogsInputConfigProperty Struct
The configuration for reading agent traces from CloudWatch logs.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const cloudWatchLogsInputConfigProperty: bedrockagentcore.CfnOnlineEvaluationConfig.CloudWatchLogsInputConfigProperty = {
serviceNames: ['serviceNames'],
// the properties below are optional
logGroupNamePrefixes: ['logGroupNamePrefixes'],
logGroupNames: ['logGroupNames'],
};
Properties
logGroupNamePrefixesoptionalstring[]log_group_name_prefixesoptionaltyping.List[str]logGroupNamePrefixesoptionalList<String>LogGroupNamePrefixesoptionalstring[]LogGroupNamePrefixesoptional*[]*string#The list of CloudWatch log group name prefixes to monitor for agent traces.
Mutually exclusive with LogGroupNames; specify exactly one of the two selectors.
logGroupNamesoptionalstring[]log_group_namesoptionaltyping.List[str]logGroupNamesoptionalList<String>LogGroupNamesoptionalstring[]LogGroupNamesoptional*[]*string#The list of CloudWatch log group names to monitor for agent traces.
serviceNamesstring[]service_namestyping.List[str]serviceNamesList<String>ServiceNamesstring[]ServiceNames*[]*stringrequired#The list of service names to filter traces within the specified log groups.