java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.appconfig.alpha.Monitor
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-18T17:54:26.539Z") @Stability(Deprecated) @Deprecated public abstract class Monitor extends software.amazon.jsii.JsiiObject
Deprecated.
(deprecated) Defines monitors that will be associated with an AWS AppConfig environment.

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.appconfig.alpha.*;
 Monitor monitor = Monitor.fromCfnMonitorsProperty(MonitorsProperty.builder()
         .alarmArn("alarmArn")
         .alarmRoleArn("alarmRoleArn")
         .build());
 
  • Constructor Details

    • Monitor

      protected Monitor(software.amazon.jsii.JsiiObjectRef objRef)
      Deprecated.
    • Monitor

      protected Monitor(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      Deprecated.
    • Monitor

      @Stability(Deprecated) @Deprecated protected Monitor()
      Deprecated.
  • Method Details

    • fromCfnMonitorsProperty

      @Stability(Deprecated) @Deprecated @NotNull public static Monitor fromCfnMonitorsProperty(@NotNull CfnEnvironment.MonitorsProperty monitorsProperty)
      Deprecated.
      (deprecated) Creates a Monitor from a CfnEnvironment.MonitorsProperty construct.

      Parameters:
      monitorsProperty - The monitors property. This parameter is required.
    • fromCloudWatchAlarm

      @Stability(Deprecated) @Deprecated @NotNull public static Monitor fromCloudWatchAlarm(@NotNull IAlarm alarm, @Nullable IRole alarmRole)
      Deprecated.
      (deprecated) Creates a Monitor from a CloudWatch alarm.

      If the alarm role is not specified, a role will be generated.

      Parameters:
      alarm - The Amazon CloudWatch alarm. This parameter is required.
      alarmRole - The IAM role for AWS AppConfig to view the alarm state.
    • fromCloudWatchAlarm

      @Stability(Deprecated) @Deprecated @NotNull public static Monitor fromCloudWatchAlarm(@NotNull IAlarm alarm)
      Deprecated.
      (deprecated) Creates a Monitor from a CloudWatch alarm.

      If the alarm role is not specified, a role will be generated.

      Parameters:
      alarm - The Amazon CloudWatch alarm. This parameter is required.
    • getAlarmArn

      @Stability(Deprecated) @Deprecated @NotNull public abstract String getAlarmArn()
      Deprecated.
      (deprecated) The alarm ARN for AWS AppConfig to monitor.
    • getMonitorType

      @Stability(Deprecated) @Deprecated @NotNull public abstract MonitorType getMonitorType()
      Deprecated.
      (deprecated) The type of monitor.
    • getAlarmRoleArn

      @Stability(Deprecated) @Deprecated @Nullable public abstract String getAlarmRoleArn()
      Deprecated.
      (deprecated) The IAM role ARN for AWS AppConfig to view the alarm state.
    • getIsCompositeAlarm

      @Stability(Deprecated) @Deprecated @Nullable public abstract Boolean getIsCompositeAlarm()
      Deprecated.
      (deprecated) Indicates whether a CloudWatch alarm is a composite alarm.