

# RollbackTrigger
<a name="API_RollbackTrigger"></a>

A rollback trigger CloudFormation monitors during creation and updating of stacks. If any of the alarms you specify goes to ALARM state during the stack operation or within the specified monitoring period afterwards, CloudFormation rolls back the entire stack operation.

## Contents
<a name="API_RollbackTrigger_Contents"></a>

 ** Arn **   
The Amazon Resource Name (ARN) of the rollback trigger.  
If a specified trigger is missing, the entire stack operation fails and is rolled back.  
Type: String  
Required: Yes

 ** Type **   
The resource type of the rollback trigger. Specify either [AWS::CloudWatch::Alarm](https://docs.amazonaws.cn/AWSCloudFormation/latest/TemplateReference/aws-resource-cloudwatch-alarm.html) or [AWS::CloudWatch::CompositeAlarm](https://docs.amazonaws.cn/AWSCloudFormation/latest/TemplateReference/aws-resource-cloudwatch-compositealarm.html) resource types.  
Type: String  
Required: Yes

## See Also
<a name="API_RollbackTrigger_SeeAlso"></a>

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/cloudformation-2010-05-15/RollbackTrigger) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/cloudformation-2010-05-15/RollbackTrigger) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/cloudformation-2010-05-15/RollbackTrigger) 