@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:16.593Z") @Stability(value=Experimental) public interface AddStageOpts extends software.amazon.jsii.JsiiSerializable
Example:
CodePipeline pipeline;
MyApplicationStage preprod = new MyApplicationStage(this, "PreProd");
MyApplicationStage prod = new MyApplicationStage(this, "Prod");
pipeline.addStage(preprod, AddStageOpts.builder()
.post(List.of(
ShellStep.Builder.create("Validate Endpoint")
.commands(List.of("curl -Ssf https://my.webservice.com/"))
.build()))
.build());
pipeline.addStage(prod, AddStageOpts.builder()
.pre(List.of(
new ManualApprovalStep("PromoteToProd")))
.build());
| Modifier and Type | Interface and Description |
|---|---|
static class |
AddStageOpts.Builder
A builder for
AddStageOpts |
static class |
AddStageOpts.Jsii$Proxy
An implementation for
AddStageOpts |
| Modifier and Type | Method and Description |
|---|---|
static AddStageOpts.Builder |
builder() |
default List<Step> |
getPost()
(experimental) Additional steps to run after all of the stacks in the stage.
|
default List<Step> |
getPre()
(experimental) Additional steps to run before any of the stacks in the stage.
|
default List<StackSteps> |
getStackSteps()
(experimental) Instructions for stack level steps.
|
@Stability(value=Experimental) @Nullable default List<Step> getPost()
Default: - No additional steps
@Stability(value=Experimental) @Nullable default List<Step> getPre()
Default: - No additional steps
@Stability(value=Experimental) @Nullable default List<StackSteps> getStackSteps()
Default: - No additional instructions
@Stability(value=Experimental) static AddStageOpts.Builder builder()
AddStageOpts.Builder of AddStageOptsCopyright © 2022. All rights reserved.