interface ScheduledQueryConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.CloudWatch.CfnLogAlarmPropsMixin.ScheduledQueryConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awscloudwatch#CfnLogAlarmPropsMixin_ScheduledQueryConfigurationProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.cloudwatch.CfnLogAlarmPropsMixin.ScheduledQueryConfigurationProperty |
Python | aws_cdk.cfn_property_mixins.aws_cloudwatch.CfnLogAlarmPropsMixin.ScheduledQueryConfigurationProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_cloudwatch » CfnLogAlarmPropsMixin » ScheduledQueryConfigurationProperty |
The scheduled query configuration for the log alarm.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudwatch as cloudwatch } from '@aws-cdk/cfn-property-mixins';
const scheduledQueryConfigurationProperty: cloudwatch.CfnLogAlarmPropsMixin.ScheduledQueryConfigurationProperty = {
aggregationExpression: 'aggregationExpression',
logGroupIdentifiers: ['logGroupIdentifiers'],
queryString: 'queryString',
scheduleConfiguration: {
endTimeOffset: 123,
scheduleExpression: 'scheduleExpression',
startTimeOffset: 123,
},
scheduledQueryRoleArn: 'scheduledQueryRoleArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| aggregation | string | The aggregation expression for the scheduled query, e.g. count(*) or avg(latency) by host. |
| log | string[] | The log groups to query. |
| query | string | The query string to execute against the specified log groups. |
| schedule | IResolvable | Schedule | The schedule configuration for the scheduled query. |
| scheduled | string | The ARN of the IAM role that grants permissions to execute the scheduled query. |
aggregationExpression?
Type:
string
(optional)
The aggregation expression for the scheduled query, e.g. count(*) or avg(latency) by host.
logGroupIdentifiers?
Type:
string[]
(optional)
The log groups to query.
queryString?
Type:
string
(optional)
The query string to execute against the specified log groups.
scheduleConfiguration?
Type:
IResolvable | Schedule
(optional)
The schedule configuration for the scheduled query.
scheduledQueryRoleArn?
Type:
string
(optional)
The ARN of the IAM role that grants permissions to execute the scheduled query.

.NET
Go
Java
Python
TypeScript