

# RetryConfiguration
<a name="API_RetryConfiguration"></a>

The retry configuration specifies automatic retry for a failed stage, along with the configured retry mode.

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

 ** retryMode **   <a name="CodePipeline-Type-RetryConfiguration-retryMode"></a>
The method that you want to configure for automatic stage retry on stage failure. You can specify to retry only failed action in the stage or all actions in the stage.  
Type: String  
Valid Values: `FAILED_ACTIONS | ALL_ACTIONS`   
Required: No

## See Also
<a name="API_RetryConfiguration_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/codepipeline-2015-07-09/RetryConfiguration) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/codepipeline-2015-07-09/RetryConfiguration) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/codepipeline-2015-07-09/RetryConfiguration) 