Interface IAlarm

All Superinterfaces:
IAlarmRule, software.constructs.IConstruct, software.constructs.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.104.0 (build e79254c)", date="2024-11-22T02:23:58.510Z") @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.constructs.IConstruct

    getNode

    Methods inherited from interface software.amazon.awscdk.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.