Condition Struct
The condition for the stage.
A condition is made up of the rules and the result for the condition.
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 rule: codepipeline.Rule;
const condition: codepipeline.Condition = {
result: codepipeline.Result.ROLLBACK,
rules: [rule],
};