Interface IAlarm

All Superinterfaces:
IAlarmRule, IConstruct, software.constructs.IConstruct, IDependable, IResource, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IAlarm.Jsii$Default
All Known Implementing Classes:
Alarm, AlarmBase, CompositeAlarm, IAlarm.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:36.865Z") @Stability(Stable) public interface IAlarm extends software.amazon.jsii.JsiiSerializable, IAlarmRule, IResource
Represents a CloudWatch Alarm.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Internal default implementation for IAlarm.
    static final class 
    A proxy class which represents a concrete javascript instance of this type.
  • Method Summary

    Modifier and Type
    Method
    Description
    Alarm ARN (i.e.
    Name of the alarm.

    Methods inherited from interface software.amazon.awscdk.services.cloudwatch.IAlarmRule

    renderAlarmRule

    Methods inherited from interface software.amazon.awscdk.core.IConstruct

    getNode

    Methods inherited from interface software.amazon.awscdk.core.IResource

    applyRemovalPolicy, getEnv, getStack

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • getAlarmArn

      @Stability(Stable) @NotNull String getAlarmArn()
      Alarm ARN (i.e. arn:aws:cloudwatch::invalid input: '<'account-id>:alarm:Foo).
    • getAlarmName

      @Stability(Stable) @NotNull String getAlarmName()
      Name of the alarm.