

# ControlCondition


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](https://docs.amazonaws.cn/r53recovery/latest/dg/arc-zonal-autoshift.considerations.html) in the Amazon Application Recovery Controller Developer Guide.

## Contents


 ** alarmIdentifier **   <a name="zonalshift-Type-ControlCondition-alarmIdentifier"></a>
The Amazon Resource Name (ARN) for an Amazon CloudWatch alarm that you specify as a control condition for a practice run.  
Type: String  
Length Constraints: Minimum length of 8. Maximum length of 1024.  
Pattern: `.*`   
Required: Yes

 ** type **   <a name="zonalshift-Type-ControlCondition-type"></a>
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`.  
Type: String  
Valid Values: `CLOUDWATCH`   
Required: Yes

## See Also


For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\$1\$1](https://docs.amazonaws.cn/goto/SdkForCpp/arc-zonal-shift-2022-10-30/ControlCondition) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/arc-zonal-shift-2022-10-30/ControlCondition) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/arc-zonal-shift-2022-10-30/ControlCondition) 