@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.945Z") @Stability(value=Stable) public interface StackDeploymentProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.pipelines.*;
StackDeploymentProps stackDeploymentProps = StackDeploymentProps.builder()
.absoluteTemplatePath("absoluteTemplatePath")
.constructPath("constructPath")
.stackArtifactId("stackArtifactId")
.stackName("stackName")
// the properties below are optional
.account("account")
.assets(List.of(StackAsset.builder()
.assetId("assetId")
.assetManifestPath("assetManifestPath")
.assetSelector("assetSelector")
.assetType(AssetType.FILE)
.isTemplate(false)
// the properties below are optional
.assetPublishingRoleArn("assetPublishingRoleArn")
.build()))
.assumeRoleArn("assumeRoleArn")
.executionRoleArn("executionRoleArn")
.region("region")
.tags(Map.of(
"tagsKey", "tags"))
.templateS3Uri("templateS3Uri")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
StackDeploymentProps.Builder
A builder for
StackDeploymentProps |
static class |
StackDeploymentProps.Jsii$Proxy
An implementation for
StackDeploymentProps |
| Modifier and Type | Method and Description |
|---|---|
static StackDeploymentProps.Builder |
builder() |
String |
getAbsoluteTemplatePath()
Template path on disk to cloud assembly (cdk.out).
|
default String |
getAccount()
Account where the stack should be deployed.
|
default List<StackAsset> |
getAssets()
Assets referenced by this stack.
|
default String |
getAssumeRoleArn()
Role to assume before deploying this stack.
|
String |
getConstructPath()
Construct path for this stack.
|
default String |
getExecutionRoleArn()
Execution role to pass to CloudFormation.
|
default String |
getRegion()
Region where the stack should be deployed.
|
String |
getStackArtifactId()
Artifact ID for this stack.
|
String |
getStackName()
Name for this stack.
|
default Map<String,String> |
getTags()
Tags to apply to the stack.
|
default String |
getTemplateS3Uri()
The S3 URL which points to the template asset location in the publishing bucket.
|
@Stability(value=Stable) @NotNull String getAbsoluteTemplatePath()
@Stability(value=Stable) @NotNull String getConstructPath()
@Stability(value=Stable) @NotNull String getStackArtifactId()
@Stability(value=Stable) @NotNull String getStackName()
@Stability(value=Stable) @Nullable default String getAccount()
Default: - Pipeline account
@Stability(value=Stable) @Nullable default List<StackAsset> getAssets()
Default: - No assets
@Stability(value=Stable) @Nullable default String getAssumeRoleArn()
Default: - Don't assume any role
@Stability(value=Stable) @Nullable default String getExecutionRoleArn()
Default: - No execution role
@Stability(value=Stable) @Nullable default String getRegion()
Default: - Pipeline region
@Stability(value=Stable) @Nullable default Map<String,String> getTags()
Default: - No tags
@Stability(value=Stable) @Nullable default String getTemplateS3Uri()
Default: - Stack template is not published
@Stability(value=Stable) static StackDeploymentProps.Builder builder()
StackDeploymentProps.Builder of StackDeploymentPropsCopyright © 2022. All rights reserved.