Interface Condition
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
Condition.Jsii$Proxy
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:07.181Z")
@Stability(Stable)
public interface Condition
extends software.amazon.jsii.JsiiSerializable
The condition for the stage.
A condition is made up of the rules and the result for the condition.
Example:
// 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.*;
Rule rule;
Condition condition = Condition.builder()
.result(Result.ROLLBACK)
.rules(List.of(rule))
.build();
-
Method Details
-
getResult
The action to be done when the condition is met.Default: - No result action is taken
-
getRules
The rules that make up the condition.Default: - No rules are applied
-
builder
- Returns:
- a
Condition.BuilderofCondition
-