@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.926Z") @Stability(value=Stable) 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()
Additional steps to run after all of the stacks in the stage.
|
default List<Step> |
getPre()
Additional steps to run before any of the stacks in the stage.
|
default List<StackSteps> |
getStackSteps()
Instructions for stack level steps.
|
@Stability(value=Stable) @Nullable default List<Step> getPost()
Default: - No additional steps
@Stability(value=Stable) @Nullable default List<Step> getPre()
Default: - No additional steps
@Stability(value=Stable) @Nullable default List<StackSteps> getStackSteps()
Default: - No additional instructions
@Stability(value=Stable) static AddStageOpts.Builder builder()
AddStageOpts.Builder of AddStageOptsCopyright © 2022. All rights reserved.