Interface CfnPipeline.ConditionProperty
- All Superinterfaces:
- software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
- CfnPipeline.ConditionProperty.Jsii$Proxy
- Enclosing class:
- CfnPipeline
@Stability(Stable)
public static interface CfnPipeline.ConditionProperty
extends software.amazon.jsii.JsiiSerializable
The condition for the stage.
 
A condition is made up of the rules and the result for the condition. For more information about conditions, see Stage conditions and How do stage conditions work? .. For more information about rules, see the AWS CodePipeline rule reference .
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.*;
 Object configuration;
 ConditionProperty conditionProperty = ConditionProperty.builder()
         .result("result")
         .rules(List.of(RuleDeclarationProperty.builder()
                 .commands(List.of("commands"))
                 .configuration(configuration)
                 .inputArtifacts(List.of(InputArtifactProperty.builder()
                         .name("name")
                         .build()))
                 .name("name")
                 .region("region")
                 .roleArn("roleArn")
                 .ruleTypeId(RuleTypeIdProperty.builder()
                         .category("category")
                         .owner("owner")
                         .provider("provider")
                         .version("version")
                         .build())
                 .build()))
         .build();
 - See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPipeline.ConditionPropertystatic final classAn implementation forCfnPipeline.ConditionProperty
- 
Method SummaryMethods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Method Details- 
getResultThe action to be done when the condition is met.For example, rolling back an execution for a failure condition. - See Also:
 
- 
getRulesThe rules that make up the condition.Returns union: either IResolvableor Listinvalid input: '<'eitherIResolvableorCfnPipeline.RuleDeclarationProperty>- See Also:
 
- 
builder
 
-