interface FailureConditionsProperty
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.CodePipeline.CfnPipeline.FailureConditionsProperty | 
|  Go | github.com/aws/aws-cdk-go/awscdk/v2/awscodepipeline#CfnPipeline_FailureConditionsProperty | 
|  Java | software.amazon.awscdk.services.codepipeline.CfnPipeline.FailureConditionsProperty | 
|  Python | aws_cdk.aws_codepipeline.CfnPipeline.FailureConditionsProperty | 
|  TypeScript | aws-cdk-lib»aws_codepipeline»CfnPipeline»FailureConditionsProperty | 
The configuration that specifies the result, such as rollback, to occur upon stage failure.
For more information about conditions, see Stage conditions and How do stage conditions work? .
Example
// 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';
declare const configuration: any;
const failureConditionsProperty: codepipeline.CfnPipeline.FailureConditionsProperty = {
  conditions: [{
    result: 'result',
    rules: [{
      commands: ['commands'],
      configuration: configuration,
      inputArtifacts: [{
        name: 'name',
      }],
      name: 'name',
      region: 'region',
      roleArn: 'roleArn',
      ruleTypeId: {
        category: 'category',
        owner: 'owner',
        provider: 'provider',
        version: 'version',
      },
    }],
  }],
  result: 'result',
  retryConfiguration: {
    retryMode: 'retryMode',
  },
};
Properties
| Name | Type | Description | 
|---|---|---|
| conditions? | IResolvable | (IResolvable | Condition)[] | The conditions that are configured as failure conditions. | 
| result? | string | The specified result for when the failure conditions are met, such as rolling back the stage. | 
| retry | IResolvable | Retry | The retry configuration specifies automatic retry for a failed stage, along with the configured retry mode. | 
conditions?
Type:
IResolvable | (IResolvable | Condition)[]
(optional)
The conditions that are configured as failure conditions.
For more information about conditions, see Stage conditions and How do stage conditions work? .
result?
Type:
string
(optional)
The specified result for when the failure conditions are met, such as rolling back the stage.
retryConfiguration?
Type:
IResolvable | Retry
(optional)
The retry configuration specifies automatic retry for a failed stage, along with the configured retry mode.
