Package software.amazon.awscdk.pipelines
Class DeployCdkStackAction
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.pipelines.DeployCdkStackAction
- All Implemented Interfaces:
IAction
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:49.814Z")
@Stability(Deprecated)
@Deprecated
public class DeployCdkStackAction
extends software.amazon.jsii.JsiiObject
implements IAction
Deprecated.
(deprecated) Action to deploy a CDK Stack.
Adds two CodePipeline Actions to the pipeline: one to create a ChangeSet and one to execute it.
You do not need to instantiate this action yourself -- it will automatically be added by the pipeline when you add stack artifacts or entire stages.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.codepipeline.*; import software.amazon.awscdk.services.iam.*; import software.amazon.awscdk.pipelines.*; Artifact artifact; Role role; DeployCdkStackAction deployCdkStackAction = DeployCdkStackAction.Builder.create() .actionRole(role) .cloudAssemblyInput(artifact) .stackName("stackName") .templatePath("templatePath") // the properties below are optional .baseActionName("baseActionName") .changeSetName("changeSetName") .cloudFormationExecutionRole(role) .dependencyStackArtifactIds(List.of("dependencyStackArtifactIds")) .executeRunOrder(123) .output(artifact) .outputFileName("outputFileName") .prepareRunOrder(123) .region("region") .stackArtifactId("stackArtifactId") .templateConfigurationPath("templateConfigurationPath") .build();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.codepipeline.IAction
IAction.Jsii$Default, IAction.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionDeprecated.protected
DeployCdkStackAction
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated.protected
DeployCdkStackAction
(software.amazon.jsii.JsiiObjectRef objRef) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionbind
(Construct scope, IStage stage, ActionBindOptions options) Deprecated.static DeployCdkStackAction
fromStackArtifact
(software.constructs.Construct scope, CloudFormationStackArtifact artifact, CdkStackActionFromArtifactOptions options) Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.onStateChange
(String name) Deprecated.onStateChange
(String name, IRuleTarget target) Deprecated.onStateChange
(String name, IRuleTarget target, RuleProps options) Deprecated.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
DeployCdkStackAction
protected DeployCdkStackAction(software.amazon.jsii.JsiiObjectRef objRef) Deprecated. -
DeployCdkStackAction
protected DeployCdkStackAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated. -
DeployCdkStackAction
@Stability(Deprecated) @Deprecated public DeployCdkStackAction(@NotNull DeployCdkStackActionProps props) Deprecated.- Parameters:
props
- This parameter is required.
-
-
Method Details
-
fromStackArtifact
@Stability(Deprecated) @Deprecated @NotNull public static DeployCdkStackAction fromStackArtifact(@NotNull software.constructs.Construct scope, @NotNull CloudFormationStackArtifact artifact, @NotNull CdkStackActionFromArtifactOptions options) Deprecated.(deprecated) Construct a DeployCdkStackAction from a Stack artifact.- Parameters:
scope
- This parameter is required.artifact
- This parameter is required.options
- This parameter is required.
-
bind
@Stability(Deprecated) @Deprecated @NotNull public ActionConfig bind(@NotNull Construct scope, @NotNull IStage stage, @NotNull ActionBindOptions options) Deprecated.(deprecated) Exists to implement IAction. -
onStateChange
@Stability(Deprecated) @Deprecated @NotNull public Rule onStateChange(@NotNull String name, @Nullable IRuleTarget target, @Nullable RuleProps options) Deprecated.(deprecated) Exists to implement IAction.- Specified by:
onStateChange
in interfaceIAction
- Parameters:
name
- This parameter is required.target
-options
-
-
onStateChange
@Stability(Deprecated) @Deprecated @NotNull public Rule onStateChange(@NotNull String name, @Nullable IRuleTarget target) Deprecated.(deprecated) Exists to implement IAction.- Specified by:
onStateChange
in interfaceIAction
- Parameters:
name
- This parameter is required.target
-
-
onStateChange
Deprecated.(deprecated) Exists to implement IAction.- Specified by:
onStateChange
in interfaceIAction
- Parameters:
name
- This parameter is required.
-
getActionProperties
Deprecated.(deprecated) Exists to implement IAction.- Specified by:
getActionProperties
in interfaceIAction
-
getDependencyStackArtifactIds
Deprecated.(deprecated) Artifact ids of the artifact this stack artifact depends on. -
getExecuteRunOrder
Deprecated.(deprecated) The runorder for the execute action. -
getPrepareRunOrder
Deprecated.(deprecated) The runorder for the prepare action. -
getStackName
Deprecated.(deprecated) Name of the deployed stack. -
getStackArtifactId
Deprecated.(deprecated) Artifact id of the artifact this action was based on.
-
CodePipeline
class instead