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 .configuration(configuration) .inputArtifacts(List.of(InputArtifactProperty.builder() .name("name") .build())) .namespace("namespace") .outputArtifacts(List.of(OutputArtifactProperty.builder() .name("name") .build())) .region("region") .roleArn("roleArn") .runOrder(123) .timeoutInMinutes(123) .build())) .name("name") // the properties below are optional .blockers(List.of(BlockerDeclarationProperty.builder() .name("name") .type("type") .build())) .onFailure(FailureConditionsProperty.builder() .result("result") .build()) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnPipeline.StageDeclarationProperty
static final class
An implementation forCfnPipeline.StageDeclarationProperty
-
Method Summary
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:
-
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:
-
builder
-