# RetryMode

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.

- Source: [`aws-codepipeline/lib/pipeline.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0/packages/aws-cdk-lib/aws-codepipeline/lib/pipeline.ts#L209)
- Type last changed: v2.186.0 · 27 Mar 2025

## Members

| Member | Description |
| --- | --- |
| `ALL_ACTIONS` | Retry all actions under this stage. |
| `FAILED_ACTIONS` | Only retry failed actions. |

## Referenced by

- [`FailureConditions`](/v2/docs/aws-cdk-lib.aws_codepipeline.FailureConditions).retryMode
