@Stability(value=Stable) @Internal public static final class CfnCompositeAlarmProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnCompositeAlarmProps
CfnCompositeAlarmPropssoftware.amazon.jsii.JsiiObject.InitializationModeCfnCompositeAlarmProps.Builder, CfnCompositeAlarmProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnCompositeAlarmProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnCompositeAlarmProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Object |
getActionsEnabled()
Indicates whether actions should be executed during any changes to the alarm state of the composite alarm.
|
String |
getActionsSuppressor()
Actions will be suppressed if the suppressor alarm is in the `ALARM` state.
|
Number |
getActionsSuppressorExtensionPeriod()
The maximum time in seconds that the composite alarm waits after suppressor alarm goes out of the `ALARM` state.
|
Number |
getActionsSuppressorWaitPeriod()
The maximum time in seconds that the composite alarm waits for the suppressor alarm to go into the `ALARM` state.
|
List<String> |
getAlarmActions()
The actions to execute when this alarm transitions to the ALARM state from any other state.
|
String |
getAlarmDescription()
The description for the composite alarm.
|
String |
getAlarmName()
The name for the composite alarm.
|
String |
getAlarmRule()
An expression that specifies which other alarms are to be evaluated to determine this composite alarm's state.
|
List<String> |
getInsufficientDataActions()
The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state.
|
List<String> |
getOkActions()
The actions to execute when this alarm transitions to the OK state from any other state.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnCompositeAlarmProps.Builder builder)
CfnCompositeAlarmProps.Builder.public final String getAlarmRule()
CfnCompositeAlarmPropsFor each alarm that you reference, you designate a function that specifies whether that alarm needs to be in ALARM state, OK state, or INSUFFICIENT_DATA state. You can use operators (AND, OR and NOT) to combine multiple functions in a single expression. You can use parenthesis to logically group the functions in your expression.
You can use either alarm names or ARNs to reference the other alarms that are to be evaluated.
Functions can include the following:
TRUE and FALSE are useful for testing a complex AlarmRule structure, and for testing your alarm actions.
For more information about AlarmRule syntax, see PutCompositeAlarm in the Amazon CloudWatch API Reference .
getAlarmRule in interface CfnCompositeAlarmPropspublic final Object getActionsEnabled()
CfnCompositeAlarmPropsThe default is TRUE.
getActionsEnabled in interface CfnCompositeAlarmPropspublic final String getActionsSuppressor()
CfnCompositeAlarmProps
ActionsSuppressor can be an AlarmName or an Amazon Resource Name (ARN) from an existing alarm.
getActionsSuppressor in interface CfnCompositeAlarmPropspublic final Number getActionsSuppressorExtensionPeriod()
CfnCompositeAlarmPropsAfter this time, the composite alarm performs its actions.
ExtensionPeriodis required only whenActionsSuppressoris specified.
getActionsSuppressorExtensionPeriod in interface CfnCompositeAlarmPropspublic final Number getActionsSuppressorWaitPeriod()
CfnCompositeAlarmPropsAfter this time, the composite alarm performs its actions.
WaitPeriodis required only whenActionsSuppressoris specified.
getActionsSuppressorWaitPeriod in interface CfnCompositeAlarmPropspublic final List<String> getAlarmActions()
CfnCompositeAlarmPropsEach action is specified as an Amazon Resource Name (ARN). For more information about creating alarms and the actions that you can specify, see PutCompositeAlarm in the Amazon CloudWatch API Reference .
getAlarmActions in interface CfnCompositeAlarmPropspublic final String getAlarmDescription()
CfnCompositeAlarmPropsgetAlarmDescription in interface CfnCompositeAlarmPropspublic final String getAlarmName()
CfnCompositeAlarmPropsThis name must be unique within your AWS account.
getAlarmName in interface CfnCompositeAlarmPropspublic final List<String> getInsufficientDataActions()
CfnCompositeAlarmPropsEach action is specified as an Amazon Resource Name (ARN). For more information about creating alarms and the actions that you can specify, see PutCompositeAlarm in the Amazon CloudWatch API Reference .
getInsufficientDataActions in interface CfnCompositeAlarmPropspublic final List<String> getOkActions()
CfnCompositeAlarmPropsEach action is specified as an Amazon Resource Name (ARN). For more information about creating alarms and the actions that you can specify, see PutCompositeAlarm in the Amazon CloudWatch API Reference .
getOkActions in interface CfnCompositeAlarmProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2023. All rights reserved.