Interface CfnLogAlarmProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnLogAlarmProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.133.0 (build 0f43e37)", date="2026-06-16T16:14:20.703Z") @Stability(Stable) public interface CfnLogAlarmProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnLogAlarm.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.cloudwatch.*;
 CfnLogAlarmProps cfnLogAlarmProps = CfnLogAlarmProps.builder()
         .comparisonOperator("comparisonOperator")
         .queryResultsToAlarm(123)
         .queryResultsToEvaluate(123)
         .scheduledQueryConfiguration(ScheduledQueryConfigurationProperty.builder()
                 .aggregationExpression("aggregationExpression")
                 .logGroupIdentifiers(List.of("logGroupIdentifiers"))
                 .queryLanguage("queryLanguage")
                 .queryString("queryString")
                 .scheduleConfiguration(ScheduleConfigurationProperty.builder()
                         .scheduleExpression("scheduleExpression")
                         // the properties below are optional
                         .endTimeOffset(123)
                         .startTimeOffset(123)
                         .build())
                 .scheduledQueryRoleArn("scheduledQueryRoleArn")
                 .build())
         .threshold(123)
         // the properties below are optional
         .actionLogLineCount(123)
         .actionLogLineRoleArn("actionLogLineRoleArn")
         .actionsEnabled(false)
         .alarmActions(List.of("alarmActions"))
         .alarmDescription("alarmDescription")
         .alarmName("alarmName")
         .insufficientDataActions(List.of("insufficientDataActions"))
         .okActions(List.of("okActions"))
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .treatMissingData("treatMissingData")
         .build();
 

See Also: