@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:39.818Z") @Stability(value=Deprecated) @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.
|
software.amazon.jsii.JsiiObject.InitializationModeIAction.Jsii$Default, IAction.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
DeployCdkStackAction(DeployCdkStackActionProps props)
Deprecated.
|
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.
|
List<String> |
getDependencyStackArtifactIds()
Deprecated.
|
Number |
getExecuteRunOrder()
Deprecated.
|
Number |
getPrepareRunOrder()
Deprecated.
|
String |
getStackArtifactId()
Deprecated.
|
String |
getStackName()
Deprecated.
|
Rule |
onStateChange(String name)
Deprecated.
|
Rule |
onStateChange(String name,
IRuleTarget target)
Deprecated.
|
Rule |
onStateChange(String name,
IRuleTarget target,
RuleProps options)
Deprecated.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected DeployCdkStackAction(software.amazon.jsii.JsiiObjectRef objRef)
protected DeployCdkStackAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Deprecated) @Deprecated public DeployCdkStackAction(@NotNull DeployCdkStackActionProps props)
props - This parameter is required.@Stability(value=Deprecated) @Deprecated @NotNull public static DeployCdkStackAction fromStackArtifact(@NotNull software.constructs.Construct scope, @NotNull CloudFormationStackArtifact artifact, @NotNull CdkStackActionFromArtifactOptions options)
scope - This parameter is required.artifact - This parameter is required.options - This parameter is required.@Stability(value=Deprecated) @Deprecated @NotNull public ActionConfig bind(@NotNull Construct scope, @NotNull IStage stage, @NotNull ActionBindOptions options)
@Stability(value=Deprecated) @Deprecated @NotNull public Rule onStateChange(@NotNull String name, @Nullable IRuleTarget target, @Nullable RuleProps options)
onStateChange in interface IActionname - This parameter is required.target - options - @Stability(value=Deprecated) @Deprecated @NotNull public Rule onStateChange(@NotNull String name, @Nullable IRuleTarget target)
onStateChange in interface IActionname - This parameter is required.target - @Stability(value=Deprecated) @Deprecated @NotNull public Rule onStateChange(@NotNull String name)
onStateChange in interface IActionname - This parameter is required.@Stability(value=Deprecated) @Deprecated @NotNull public ActionProperties getActionProperties()
getActionProperties in interface IAction@Stability(value=Deprecated) @Deprecated @NotNull public List<String> getDependencyStackArtifactIds()
@Stability(value=Deprecated) @Deprecated @NotNull public Number getExecuteRunOrder()
@Stability(value=Deprecated) @Deprecated @NotNull public Number getPrepareRunOrder()
@Stability(value=Deprecated) @Deprecated @NotNull public String getStackName()
@Stability(value=Deprecated) @Deprecated @Nullable public String getStackArtifactId()
Copyright © 2022. All rights reserved.