interface ScheduleConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.CloudWatch.CfnLogAlarm.ScheduleConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscloudwatch#CfnLogAlarm_ScheduleConfigurationProperty |
Java | software.amazon.awscdk.services.cloudwatch.CfnLogAlarm.ScheduleConfigurationProperty |
Python | aws_cdk.aws_cloudwatch.CfnLogAlarm.ScheduleConfigurationProperty |
TypeScript | aws-cdk-lib » aws_cloudwatch » CfnLogAlarm » ScheduleConfigurationProperty |
The schedule configuration for the scheduled query.
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-lib';
const scheduleConfigurationProperty: cloudwatch.CfnLogAlarm.ScheduleConfigurationProperty = {
scheduleExpression: 'scheduleExpression',
// the properties below are optional
endTimeOffset: 123,
startTimeOffset: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| schedule | string | The expression that defines when the scheduled query runs, e.g. rate(1 minute). |
| end | number | The number of seconds into the past to end the query window. |
| start | number | The number of seconds into the past to start the query window. |
scheduleExpression
Type:
string
The expression that defines when the scheduled query runs, e.g. rate(1 minute).
endTimeOffset?
Type:
number
(optional)
The number of seconds into the past to end the query window.
startTimeOffset?
Type:
number
(optional)
The number of seconds into the past to start the query window.

.NET
Go
Java
Python
TypeScript