@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:51.806Z") @Deprecated public class DeployCdkStackAction extends software.amazon.jsii.JsiiObject implements IAction
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();
Modifier and Type | Class and Description |
---|---|
static class |
DeployCdkStackAction.Builder
Deprecated.
|
IAction.Jsii$Default, IAction.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
DeployCdkStackAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
Deprecated.
|
protected |
DeployCdkStackAction(software.amazon.jsii.JsiiObjectRef objRef)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ActionConfig |
bind(Construct scope,
IStage stage,
ActionBindOptions options)
Deprecated.
|
static DeployCdkStackAction |
fromStackArtifact(software.constructs.Construct scope,
CloudFormationStackArtifact artifact,
CdkStackActionFromArtifactOptions options)
Deprecated.
|
ActionProperties |
getActionProperties()
Deprecated.
|
java.util.List<java.lang.String> |
getDependencyStackArtifactIds()
Deprecated.
|
java.lang.Number |
getExecuteRunOrder()
Deprecated.
|
java.lang.Number |
getPrepareRunOrder()
Deprecated.
|
java.lang.String |
getStackArtifactId()
Deprecated.
|
java.lang.String |
getStackName()
Deprecated.
|
Rule |
onStateChange(java.lang.String name)
Deprecated.
|
Rule |
onStateChange(java.lang.String name,
IRuleTarget target)
Deprecated.
|
Rule |
onStateChange(java.lang.String name,
IRuleTarget target,
RuleProps options)
Deprecated.
|
protected DeployCdkStackAction(software.amazon.jsii.JsiiObjectRef objRef)
protected DeployCdkStackAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Deprecated public static DeployCdkStackAction fromStackArtifact(software.constructs.Construct scope, CloudFormationStackArtifact artifact, CdkStackActionFromArtifactOptions options)
scope
- This parameter is required.artifact
- This parameter is required.options
- This parameter is required.@Deprecated public ActionConfig bind(Construct scope, IStage stage, ActionBindOptions options)
@Deprecated public Rule onStateChange(java.lang.String name, IRuleTarget target, RuleProps options)
onStateChange
in interface IAction
name
- This parameter is required.target
- options
- @Deprecated public Rule onStateChange(java.lang.String name, IRuleTarget target)
onStateChange
in interface IAction
name
- This parameter is required.target
- @Deprecated public Rule onStateChange(java.lang.String name)
onStateChange
in interface IAction
name
- This parameter is required.@Deprecated public ActionProperties getActionProperties()
getActionProperties
in interface IAction
@Deprecated public java.util.List<java.lang.String> getDependencyStackArtifactIds()
@Deprecated public java.lang.Number getExecuteRunOrder()
@Deprecated public java.lang.Number getPrepareRunOrder()
@Deprecated public java.lang.String getStackName()
@Deprecated public java.lang.String getStackArtifactId()