@Stability(value=Stable)
public static interface CfnApplication.AlarmProperty
extends software.amazon.jsii.JsiiSerializable
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.applicationinsights.*;
AlarmProperty alarmProperty = AlarmProperty.builder()
.alarmName("alarmName")
// the properties below are optional
.severity("severity")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnApplication.AlarmProperty.Builder
A builder for
CfnApplication.AlarmProperty |
static class |
CfnApplication.AlarmProperty.Jsii$Proxy
An implementation for
CfnApplication.AlarmProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnApplication.AlarmProperty.Builder |
builder() |
String |
getAlarmName()
The name of the CloudWatch alarm to be monitored for the component.
|
default String |
getSeverity()
Indicates the degree of outage when the alarm goes off.
|
@Stability(value=Stable) @NotNull String getAlarmName()
@Stability(value=Stable) @Nullable default String getSeverity()
@Stability(value=Stable) static CfnApplication.AlarmProperty.Builder builder()
Copyright © 2022. All rights reserved.