Class PipelineBase
- All Implemented Interfaces:
- IConstruct,- IDependable,- software.amazon.jsii.JsiiSerializable,- software.constructs.IConstruct
- Direct Known Subclasses:
- CodePipeline
 Different deployment systems will provide subclasses of Pipeline that generate
 the deployment infrastructure necessary to deploy CDK apps, specific to that system.
 
 This library comes with the CodePipeline class, which uses AWS CodePipeline
 to deploy CDK apps.
 
 The actual pipeline infrastructure is constructed (by invoking the engine)
 when buildPipeline() is called, or when app.synth() is called (whichever
 happens first).
- 
Nested Class SummaryNested classes/interfaces inherited from class software.constructs.Constructsoftware.constructs.Construct.BuilderNested classes/interfaces inherited from class software.amazon.jsii.JsiiObjectsoftware.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstructIConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstructsoftware.constructs.IConstruct.Jsii$Default
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedPipelineBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedPipelineBase(software.amazon.jsii.JsiiObjectRef objRef) protectedPipelineBase(software.constructs.Construct scope, String id, PipelineBaseProps props) 
- 
Method SummaryModifier and TypeMethodDescriptionDeploy a single Stage by itself.addStage(Stage stage, AddStageOpts options) Deploy a single Stage by itself.Add a Wave to the pipeline, for deploying multiple Stages in parallel.addWave(String id, WaveOptions options) Add a Wave to the pipeline, for deploying multiple Stages in parallel.voidSend the current pipeline definition to the engine, and construct the pipeline.protected abstract voidImplemented by subclasses to do the actual pipeline construction.The FileSet tha contains the cloud assembly.getSynth()The build step that produces the CDK Cloud Assembly.getWaves()The waves in this pipeline.Methods inherited from class software.amazon.awscdk.core.ConstructgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.constructs.ConstructtoStringMethods inherited from class software.amazon.jsii.JsiiObjectjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Constructor Details- 
PipelineBaseprotected PipelineBase(software.amazon.jsii.JsiiObjectRef objRef) 
- 
PipelineBaseprotected PipelineBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) 
- 
PipelineBase@Stability(Stable) protected PipelineBase(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull PipelineBaseProps props) - Parameters:
- scope- This parameter is required.
- id- This parameter is required.
- props- This parameter is required.
 
 
- 
- 
Method Details- 
addStage@Stability(Stable) @NotNull public StageDeployment addStage(@NotNull Stage stage, @Nullable AddStageOpts options) Deploy a single Stage by itself.Add a Stage to the pipeline, to be deployed in sequence with other Stages added to the pipeline. All Stacks in the stage will be deployed in an order automatically determined by their relative dependencies. - Parameters:
- stage- This parameter is required.
- options-
 
- 
addStageDeploy a single Stage by itself.Add a Stage to the pipeline, to be deployed in sequence with other Stages added to the pipeline. All Stacks in the stage will be deployed in an order automatically determined by their relative dependencies. - Parameters:
- stage- This parameter is required.
 
- 
addWaveAdd a Wave to the pipeline, for deploying multiple Stages in parallel.Use the return object of this method to deploy multiple stages in parallel. Example: CodePipeline pipeline; Wave wave = pipeline.addWave("MyWave"); wave.addStage(new MyApplicationStage(this, "Stage1")); wave.addStage(new MyApplicationStage(this, "Stage2"));- Parameters:
- id- This parameter is required.
- options-
 
- 
addWaveAdd a Wave to the pipeline, for deploying multiple Stages in parallel.Use the return object of this method to deploy multiple stages in parallel. Example: CodePipeline pipeline; Wave wave = pipeline.addWave("MyWave"); wave.addStage(new MyApplicationStage(this, "Stage1")); wave.addStage(new MyApplicationStage(this, "Stage2"));- Parameters:
- id- This parameter is required.
 
- 
buildPipeline@Stability(Stable) public void buildPipeline()Send the current pipeline definition to the engine, and construct the pipeline.It is not possible to modify the pipeline after calling this method. 
- 
doBuildPipeline@Stability(Stable) protected abstract void doBuildPipeline()Implemented by subclasses to do the actual pipeline construction.
- 
getCloudAssemblyFileSetThe FileSet tha contains the cloud assembly.This is the primary output of the synth step. 
- 
getSynthThe build step that produces the CDK Cloud Assembly.
- 
getWavesThe waves in this pipeline.
 
-