Interface CfnPlanPropsMixin.AssociatedAlarmProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPlanPropsMixin.AssociatedAlarmProperty.Jsii$Proxy
- Enclosing class:
CfnPlanPropsMixin
@Stability(Stable)
public static interface CfnPlanPropsMixin.AssociatedAlarmProperty
extends software.amazon.jsii.JsiiSerializable
An Amazon CloudWatch alarm associated with a Region switch plan.
These alarms can be used to trigger automatic execution of the plan.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.arcregionswitch.*;
AssociatedAlarmProperty associatedAlarmProperty = AssociatedAlarmProperty.builder()
.alarmType("alarmType")
.crossAccountRole("crossAccountRole")
.externalId("externalId")
.resourceIdentifier("resourceIdentifier")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPlanPropsMixin.AssociatedAlarmPropertystatic final classAn implementation forCfnPlanPropsMixin.AssociatedAlarmProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe alarm type for an associated alarm.default StringThe cross account role for the configuration.default StringThe external ID (secret key) for the configuration.default StringThe resource identifier for alarms that you associate with a plan.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAlarmType
The alarm type for an associated alarm.An associated CloudWatch alarm can be an application health alarm or a trigger alarm.
- See Also:
-
getCrossAccountRole
The cross account role for the configuration.- See Also:
-
getExternalId
The external ID (secret key) for the configuration.- See Also:
-
getResourceIdentifier
The resource identifier for alarms that you associate with a plan.- See Also:
-
builder
-