Interface CfnZonalAutoshiftConfiguration.ControlConditionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnZonalAutoshiftConfiguration.ControlConditionProperty.Jsii$Proxy
- Enclosing class:
CfnZonalAutoshiftConfiguration
@Stability(Stable)
public static interface CfnZonalAutoshiftConfiguration.ControlConditionProperty
extends software.amazon.jsii.JsiiSerializable
A control condition is an alarm that you specify for a practice run.
When you configure practice runs with zonal autoshift for a resource, you specify Amazon CloudWatch alarms, which you create in CloudWatch to use with the practice run. The alarms that you specify are an outcome alarm , to monitor application health during practice runs and, optionally, a blocking alarm , to block practice runs from starting or to interrupt a practice run in progress.
Control condition alarms do not apply for autoshifts.
For more information, see Considerations when you configure zonal autoshift in the ARC Developer Guide.
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.arczonalshift.*;
ControlConditionProperty controlConditionProperty = ControlConditionProperty.builder()
.alarmIdentifier("alarmIdentifier")
.type("type")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnZonalAutoshiftConfiguration.ControlConditionPropertystatic final classAn implementation forCfnZonalAutoshiftConfiguration.ControlConditionProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAlarmIdentifier
The Amazon Resource Name (ARN) for an Amazon CloudWatch alarm that you specify as a control condition for a practice run.- See Also:
-
getType
The type of alarm specified for a practice run.You can only specify Amazon CloudWatch alarms for practice runs, so the only valid value is
CLOUDWATCH.- See Also:
-
builder
-