Skip to content
v2.273.0

SuccessConditionsProperty Struct ​

The conditions for making checks that, if met, succeed a stage.

For more information about conditions, see Stage conditions and How do stage conditions work? .

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';

declare const configuration: any;
const successConditionsProperty: codepipeline.CfnPipeline.SuccessConditionsProperty = {
  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',
      },
    }],
  }],
};

Properties ​

conditionsIResolvable | IResolvable | CfnPipeline.ConditionProperty[]conditionstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ConditionProperty]]]conditionsIResolvableConditionsIResolvableConditionsinterface{}#
The conditions that are success conditions.