@Generated(value="jsii-pacmak/1.31.0 (build 6fa403d)", date="2021-08-11T10:33:09.490Z") @Stability(value=Experimental) public class StackDeployment extends software.amazon.jsii.JsiiObject
You don't need to instantiate this class -- it will
be automatically instantiated as necessary when you
add a Stage to a pipeline.
| Modifier | Constructor and Description |
|---|---|
protected |
StackDeployment(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
StackDeployment(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
void |
addStackDependency(StackDeployment stackDeployment)
(experimental) Add a dependency on another stack.
|
static StackDeployment |
fromArtifact(CloudFormationStackArtifact stackArtifact)
(experimental) Build a `StackDeployment` from a Stack Artifact in a Cloud Assembly.
|
String |
getAbsoluteTemplatePath()
(experimental) Template path on disk to CloudAssembly.
|
String |
getAccount()
(experimental) Account where the stack should be deployed.
|
List<StackAsset> |
getAssets()
(experimental) Assets referenced by this stack.
|
String |
getAssumeRoleArn()
(experimental) Role to assume before deploying this stack.
|
String |
getConstructPath()
(experimental) Construct path for this stack.
|
String |
getExecutionRoleArn()
(experimental) Execution role to pass to CloudFormation.
|
String |
getRegion()
(experimental) Region where the stack should be deployed.
|
String |
getStackArtifactId()
(experimental) Artifact ID for this stack.
|
List<StackDeployment> |
getStackDependencies()
(experimental) Other stacks this stack depends on.
|
String |
getStackName()
(experimental) Name for this stack.
|
Map<String,String> |
getTags()
(experimental) Tags to apply to the stack.
|
StackAsset |
getTemplateAsset()
(experimental) The asset that represents the CloudFormation template for this stack.
|
String |
getTemplateUrl()
(experimental) The S3 URL which points to the template asset location in the publishing bucket.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected StackDeployment(software.amazon.jsii.JsiiObjectRef objRef)
protected StackDeployment(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) @NotNull public static StackDeployment fromArtifact(@NotNull CloudFormationStackArtifact stackArtifact)
stackArtifact - This parameter is required.@Stability(value=Experimental)
public void addStackDependency(@NotNull
StackDeployment stackDeployment)
stackDeployment - This parameter is required.@Stability(value=Experimental) @NotNull public String getAbsoluteTemplatePath()
@Stability(value=Experimental) @NotNull public List<StackAsset> getAssets()
@Stability(value=Experimental) @NotNull public String getConstructPath()
@Stability(value=Experimental) @NotNull public String getStackArtifactId()
@Stability(value=Experimental) @NotNull public List<StackDeployment> getStackDependencies()
@Stability(value=Experimental) @NotNull public String getStackName()
@Stability(value=Experimental) @NotNull public Map<String,String> getTags()
@Stability(value=Experimental) @Nullable public String getAccount()
Default: - Pipeline account
@Stability(value=Experimental) @Nullable public String getAssumeRoleArn()
Default: - Don't assume any role
@Stability(value=Experimental) @Nullable public String getExecutionRoleArn()
Default: - No execution role
@Stability(value=Experimental) @Nullable public String getRegion()
Default: - Pipeline region
@Stability(value=Experimental) @Nullable public StackAsset getTemplateAsset()
@Stability(value=Experimental) @Nullable public String getTemplateUrl()
This is undefined if the stack template is not published. Use the
DefaultStackSynthesizer to ensure it is.
Example:
// Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826 https:
Copyright © 2021. All rights reserved.