Class CfnCompositeAlarmProps.Jsii$Proxy
- All Implemented Interfaces:
CfnCompositeAlarmProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnCompositeAlarmProps
CfnCompositeAlarmProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudwatch.CfnCompositeAlarmProps
CfnCompositeAlarmProps.Builder, CfnCompositeAlarmProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnCompositeAlarmProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnCompositeAlarmProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal ObjectIndicates whether actions should be executed during any changes to the alarm state of the composite alarm.final StringActions will be suppressed if the suppressor alarm is in theALARMstate.final NumberThe maximum time in seconds that the composite alarm waits after suppressor alarm goes out of theALARMstate.final NumberThe maximum time in seconds that the composite alarm waits for the suppressor alarm to go into theALARMstate.The actions to execute when this alarm transitions to the ALARM state from any other state.final StringThe description for the composite alarm.final StringThe name for the composite alarm.final StringAn expression that specifies which other alarms are to be evaluated to determine this composite alarm's state.The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state.The actions to execute when this alarm transitions to the OK state from any other state.getTags()A list of key-value pairs to associate with the alarm.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnCompositeAlarmProps.Builder.
-
-
Method Details
-
getAlarmRule
Description copied from interface:CfnCompositeAlarmPropsAn expression that specifies which other alarms are to be evaluated to determine this composite alarm's state.For 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:
- ALARM("alarm-name or alarm-ARN") is TRUE if the named alarm is in ALARM state.
- OK("alarm-name or alarm-ARN") is TRUE if the named alarm is in OK state.
- INSUFFICIENT_DATA("alarm-name or alarm-ARN") is TRUE if the named alarm is in INSUFFICIENT_DATA state.
- TRUE always evaluates to TRUE.
- FALSE always evaluates to FALSE.
TRUE and FALSE are useful for testing a complex AlarmRule structure, and for testing your alarm actions.
For more information about
AlarmRulesyntax, see PutCompositeAlarm in the Amazon CloudWatch API Reference .- Specified by:
getAlarmRulein interfaceCfnCompositeAlarmProps- See Also:
-
getActionsEnabled
Description copied from interface:CfnCompositeAlarmPropsIndicates whether actions should be executed during any changes to the alarm state of the composite alarm.The default is TRUE.
Returns union: either
BooleanorIResolvable- Specified by:
getActionsEnabledin interfaceCfnCompositeAlarmProps- See Also:
-
getActionsSuppressor
Description copied from interface:CfnCompositeAlarmPropsActions will be suppressed if the suppressor alarm is in theALARMstate.ActionsSuppressorcan be an AlarmName or an Amazon Resource Name (ARN) from an existing alarm.- Specified by:
getActionsSuppressorin interfaceCfnCompositeAlarmProps- See Also:
-
getActionsSuppressorExtensionPeriod
Description copied from interface:CfnCompositeAlarmPropsThe maximum time in seconds that the composite alarm waits after suppressor alarm goes out of theALARMstate.After this time, the composite alarm performs its actions.
ExtensionPeriodis required only whenActionsSuppressoris specified.- Specified by:
getActionsSuppressorExtensionPeriodin interfaceCfnCompositeAlarmProps- See Also:
-
getActionsSuppressorWaitPeriod
Description copied from interface:CfnCompositeAlarmPropsThe maximum time in seconds that the composite alarm waits for the suppressor alarm to go into theALARMstate.After this time, the composite alarm performs its actions.
WaitPeriodis required only whenActionsSuppressoris specified.- Specified by:
getActionsSuppressorWaitPeriodin interfaceCfnCompositeAlarmProps- See Also:
-
getAlarmActions
Description copied from interface:CfnCompositeAlarmPropsThe actions to execute when this alarm transitions to the ALARM state from any other state.Each 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 .
- Specified by:
getAlarmActionsin interfaceCfnCompositeAlarmProps- See Also:
-
getAlarmDescription
Description copied from interface:CfnCompositeAlarmPropsThe description for the composite alarm.- Specified by:
getAlarmDescriptionin interfaceCfnCompositeAlarmProps- See Also:
-
getAlarmName
Description copied from interface:CfnCompositeAlarmPropsThe name for the composite alarm.This name must be unique within your AWS account.
- Specified by:
getAlarmNamein interfaceCfnCompositeAlarmProps- See Also:
-
getInsufficientDataActions
Description copied from interface:CfnCompositeAlarmPropsThe actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state.Each 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 .
- Specified by:
getInsufficientDataActionsin interfaceCfnCompositeAlarmProps- See Also:
-
getOkActions
Description copied from interface:CfnCompositeAlarmPropsThe actions to execute when this alarm transitions to the OK state from any other state.Each 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 .
- Specified by:
getOkActionsin interfaceCfnCompositeAlarmProps- See Also:
-
getTags
Description copied from interface:CfnCompositeAlarmPropsA list of key-value pairs to associate with the alarm.You can associate as many as 50 tags with an alarm. To be able to associate tags with the alarm when you create the alarm, you must have the
cloudwatch:TagResourcepermission.Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
- Specified by:
getTagsin interfaceCfnCompositeAlarmProps- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-