Interface CfnPipeline.StageDeclarationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPipeline.StageDeclarationProperty.Jsii$Proxy
- Enclosing class:
CfnPipeline
@Stability(Stable)
public static interface CfnPipeline.StageDeclarationProperty
extends software.amazon.jsii.JsiiSerializable
Represents information about a stage and its definition.
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;
StageDeclarationProperty stageDeclarationProperty = StageDeclarationProperty.builder()
.actions(List.of(ActionDeclarationProperty.builder()
.actionTypeId(ActionTypeIdProperty.builder()
.category("category")
.owner("owner")
.provider("provider")
.version("version")
.build())
.name("name")
// the properties below are optional
.commands(List.of("commands"))
.configuration(configuration)
.inputArtifacts(List.of(InputArtifactProperty.builder()
.name("name")
.build()))
.namespace("namespace")
.outputArtifacts(List.of(OutputArtifactProperty.builder()
.name("name")
// the properties below are optional
.files(List.of("files"))
.build()))
.outputVariables(List.of("outputVariables"))
.region("region")
.roleArn("roleArn")
.runOrder(123)
.timeoutInMinutes(123)
.build()))
.name("name")
// the properties below are optional
.beforeEntry(BeforeEntryConditionsProperty.builder()
.conditions(List.of(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()))
.build())
.blockers(List.of(BlockerDeclarationProperty.builder()
.name("name")
.type("type")
.build()))
.onFailure(FailureConditionsProperty.builder()
.conditions(List.of(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()))
.result("result")
.retryConfiguration(RetryConfigurationProperty.builder()
.retryMode("retryMode")
.build())
.build())
.onSuccess(SuccessConditionsProperty.builder()
.conditions(List.of(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()))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPipeline.StageDeclarationPropertystatic final classAn implementation forCfnPipeline.StageDeclarationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The actions included in a stage.default ObjectThe method to use when a stage allows entry.default ObjectReserved for future use.getName()The name of the stage.default ObjectThe method to use when a stage has not completed successfully.default ObjectThe method to use when a stage has succeeded.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getActions
The actions included in a stage.- See Also:
-
getName
The name of the stage.- See Also:
-
getBeforeEntry
The method to use when a stage allows entry.For example, configuring this field for conditions will allow entry to the stage when the conditions are met.
- See Also:
-
getBlockers
Reserved for future use.- See Also:
-
getOnFailure
The method to use when a stage has not completed successfully.For example, configuring this field for rollback will roll back a failed stage automatically to the last successful pipeline execution in the stage.
- See Also:
-
getOnSuccess
The method to use when a stage has succeeded.For example, configuring this field for conditions will allow the stage to succeed when the conditions are met.
- See Also:
-
builder
-