@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:39.779Z") @Stability(value=Deprecated) @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.
|
software.amazon.jsii.JsiiObject.InitializationModeIConstruct.Jsii$Default, IConstruct.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
CdkPipeline(software.constructs.Construct scope,
String id,
CdkPipelineProps props)
Deprecated.
|
protected |
CdkPipeline(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
Deprecated.
|
protected |
CdkPipeline(software.amazon.jsii.JsiiObjectRef objRef)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
CdkStage |
addApplicationStage(Stage appStage)
Deprecated.
|
CdkStage |
addApplicationStage(Stage appStage,
AddStageOptions options)
Deprecated.
|
CdkStage |
addStage(String stageName)
Deprecated.
|
CdkStage |
addStage(String stageName,
BaseStageOptions options)
Deprecated.
|
Pipeline |
getCodePipeline()
Deprecated.
|
StackOutput |
stackOutput(CfnOutput cfnOutput)
Deprecated.
|
IStage |
stage(String stageName)
Deprecated.
|
protected List<String> |
validate()
Deprecated.
|
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesizejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected CdkPipeline(software.amazon.jsii.JsiiObjectRef objRef)
protected CdkPipeline(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Deprecated) @Deprecated public CdkPipeline(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CdkPipelineProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Deprecated) @Deprecated @NotNull public CdkStage addApplicationStage(@NotNull Stage appStage, @Nullable 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 - @Stability(value=Deprecated) @Deprecated @NotNull public CdkStage addApplicationStage(@NotNull 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.@Stability(value=Deprecated) @Deprecated @NotNull public CdkStage addStage(@NotNull String stageName, @Nullable 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 - @Stability(value=Deprecated) @Deprecated @NotNull public CdkStage addStage(@NotNull 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.@Stability(value=Deprecated) @Deprecated @NotNull public StackOutput stackOutput(@NotNull CfnOutput cfnOutput)
StackOutput can be used in validation actions later in the pipeline.
cfnOutput - This parameter is required.@Stability(value=Deprecated) @Deprecated @NotNull public IStage stage(@NotNull String stageName)
You can use this to add more Actions to a stage.
stageName - This parameter is required.@Stability(value=Deprecated) @Deprecated @NotNull protected List<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.
@Stability(value=Deprecated) @Deprecated @NotNull public Pipeline getCodePipeline()
You can use this to add more Stages to the pipeline, or Actions to Stages.
Copyright © 2022. All rights reserved.