Interface CfnPlan.AssociatedAlarmProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPlan.AssociatedAlarmProperty.Jsii$Proxy
- Enclosing class:
CfnPlan
@Stability(Stable)
public static interface CfnPlan.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.services.arcregionswitch.*; AssociatedAlarmProperty associatedAlarmProperty = AssociatedAlarmProperty.builder() .alarmType("alarmType") .resourceIdentifier("resourceIdentifier") // the properties below are optional .crossAccountRole("crossAccountRole") .externalId("externalId") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnPlan.AssociatedAlarmProperty
static final class
An implementation forCfnPlan.AssociatedAlarmProperty
-
Method Summary
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:
-
getResourceIdentifier
The resource identifier for alarms that you associate with a plan.- See Also:
-
getCrossAccountRole
The cross account role for the configuration.- See Also:
-
getExternalId
The external ID (secret key) for the configuration.- See Also:
-
builder
-