# SuccessConditionsProperty

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

For more information about conditions, see [Stage conditions](https://docs.aws.amazon.com/codepipeline/latest/userguide/stage-conditions.html) and [How do stage conditions work?](https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts-how-it-works-conditions.html) .

- Source: Generated code
- Type last changed: v2.154.0 · 22 Aug 2024

## 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

- `conditions`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnPipeline.ConditionProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_codepipeline.CfnPipeline.ConditionProperty.html)[] — The conditions that are success conditions.
