Package software.amazon.awscdk.pipelines
Interface StageDeploymentProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
StageDeploymentProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.110.0 (build 336b265)",
date="2025-04-22T23:08:22.657Z")
@Stability(Stable)
public interface StageDeploymentProps
extends software.amazon.jsii.JsiiSerializable
Properties for a
StageDeployment.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
import software.amazon.awscdk.pipelines.*;
Stack stack;
Step step;
StageDeploymentProps stageDeploymentProps = StageDeploymentProps.builder()
.post(List.of(step))
.pre(List.of(step))
.stackSteps(List.of(StackSteps.builder()
.stack(stack)
// the properties below are optional
.changeSet(List.of(step))
.post(List.of(step))
.pre(List.of(step))
.build()))
.stageName("stageName")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forStageDeploymentPropsstatic final classAn implementation forStageDeploymentProps -
Method Summary
Modifier and TypeMethodDescriptionstatic StageDeploymentProps.Builderbuilder()getPost()Additional steps to run after all of the stacks in the stage.getPre()Additional steps to run before any of the stacks in the stage.default List<StackSteps>Instructions for additional steps that are run at the stack level.default StringStage name to use in the pipeline.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPost
Additional steps to run after all of the stacks in the stage.Default: - No additional steps
-
getPre
Additional steps to run before any of the stacks in the stage.Default: - No additional steps
-
getStackSteps
Instructions for additional steps that are run at the stack level.Default: - No additional instructions
-
getStageName
Stage name to use in the pipeline.Default: - Use Stage's construct ID
-
builder
- Returns:
- a
StageDeploymentProps.BuilderofStageDeploymentProps
-