@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:51.753Z") @Deprecated public class CdkPipeline extends Construct
Defines an AWS CodePipeline-based Pipeline to deploy CDK applications.
Automatically manages the following:
Example:
Artifact sourceArtifact = new Artifact(); Artifact cloudAssemblyArtifact = new Artifact(); CdkPipeline pipeline = CdkPipeline.Builder.create(this, "MyPipeline") .cloudAssemblyArtifact(cloudAssemblyArtifact) .synthAction(SimpleSynthAction.standardNpmSynth(StandardNpmSynthOptions.builder() .sourceArtifact(sourceArtifact) .cloudAssemblyArtifact(cloudAssemblyArtifact) .environment(BuildEnvironment.builder() .privileged(true) .build()) .build())) .build();
Modifier and Type | Class and Description |
---|---|
static class |
CdkPipeline.Builder
Deprecated.
|
IConstruct.Jsii$Default, IConstruct.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
CdkPipeline(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
Deprecated.
|
protected |
CdkPipeline(software.amazon.jsii.JsiiObjectRef objRef)
Deprecated.
|
|
CdkPipeline(software.constructs.Construct scope,
java.lang.String id,
CdkPipelineProps props)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
CdkStage |
addApplicationStage(Stage appStage)
Deprecated.
|
CdkStage |
addApplicationStage(Stage appStage,
AddStageOptions options)
Deprecated.
|
CdkStage |
addStage(java.lang.String stageName)
Deprecated.
|
CdkStage |
addStage(java.lang.String stageName,
BaseStageOptions options)
Deprecated.
|
Pipeline |
getCodePipeline()
Deprecated.
|
StackOutput |
stackOutput(CfnOutput cfnOutput)
Deprecated.
|
IStage |
stage(java.lang.String stageName)
Deprecated.
|
protected java.util.List<java.lang.String> |
validate()
Deprecated.
|
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize
protected CdkPipeline(software.amazon.jsii.JsiiObjectRef objRef)
protected CdkPipeline(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Deprecated public CdkPipeline(software.constructs.Construct scope, java.lang.String id, CdkPipelineProps props)
scope
- This parameter is required.id
- This parameter is required.props
- This parameter is required.@Deprecated public CdkStage addApplicationStage(Stage appStage, AddStageOptions options)
The application construct should subclass Stage
and can contain any
number of Stacks
inside it that may have dependency relationships
on one another.
All stacks in the application will be deployed in the appropriate order, and all assets found in the application will be added to the asset publishing stage.
appStage
- This parameter is required.options
- @Deprecated public CdkStage addApplicationStage(Stage appStage)
The application construct should subclass Stage
and can contain any
number of Stacks
inside it that may have dependency relationships
on one another.
All stacks in the application will be deployed in the appropriate order, and all assets found in the application will be added to the asset publishing stage.
appStage
- This parameter is required.@Deprecated public CdkStage addStage(java.lang.String stageName, BaseStageOptions options)
Prefer to use addApplicationStage
if you are intended to deploy a CDK
application, but you can use this method if you want to add other kinds of
Actions to a pipeline.
stageName
- This parameter is required.options
- @Deprecated public CdkStage addStage(java.lang.String stageName)
Prefer to use addApplicationStage
if you are intended to deploy a CDK
application, but you can use this method if you want to add other kinds of
Actions to a pipeline.
stageName
- This parameter is required.@Deprecated public StackOutput stackOutput(CfnOutput cfnOutput)
StackOutput
can be used in validation actions later in the pipeline.
cfnOutput
- This parameter is required.@Deprecated public IStage stage(java.lang.String stageName)
You can use this to add more Actions to a stage.
stageName
- This parameter is required.@Deprecated protected java.util.List<java.lang.String> validate()
Our own convenience methods will never generate a pipeline that does that (although this is a nice verification), but a user can also add the stacks by hand.
@Deprecated public Pipeline getCodePipeline()
You can use this to add more Stages to the pipeline, or Actions to Stages.