Skip to content
v2.278.0

RetryConfigurationProperty Struct ​

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

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codepipeline as codepipeline } from 'aws-cdk-lib';
const retryConfigurationProperty: codepipeline.CfnPipeline.RetryConfigurationProperty = {
  retryMode: 'retryMode',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_codepipeline as codepipeline

retry_configuration_property = codepipeline.CfnPipeline.RetryConfigurationProperty(
    retry_mode="retryMode"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.codepipeline.*;

RetryConfigurationProperty retryConfigurationProperty = RetryConfigurationProperty.builder()
        .retryMode("retryMode")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodePipeline;

var retryConfigurationProperty = new RetryConfigurationProperty {
    RetryMode = "retryMode"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

retryConfigurationProperty := &RetryConfigurationProperty{
	RetryMode: jsii.String("retryMode"),
}

Properties ​

retryModeoptionalstringretry_modeoptionalstrretryModeoptionalStringRetryModeoptionalstringRetryModeoptional*string #
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.