@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.944Z") @Stability(value=Stable) public interface StackAsset 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.*;
StackAsset stackAsset = StackAsset.builder()
.assetId("assetId")
.assetManifestPath("assetManifestPath")
.assetSelector("assetSelector")
.assetType(AssetType.FILE)
.isTemplate(false)
// the properties below are optional
.assetPublishingRoleArn("assetPublishingRoleArn")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
StackAsset.Builder
A builder for
StackAsset |
static class |
StackAsset.Jsii$Proxy
An implementation for
StackAsset |
| Modifier and Type | Method and Description |
|---|---|
static StackAsset.Builder |
builder() |
String |
getAssetId()
Asset identifier.
|
String |
getAssetManifestPath()
Absolute asset manifest path.
|
default String |
getAssetPublishingRoleArn()
Role ARN to assume to publish.
|
String |
getAssetSelector()
Asset selector to pass to `cdk-assets`.
|
AssetType |
getAssetType()
Type of asset to publish.
|
Boolean |
getIsTemplate()
Does this asset represent the CloudFormation template for the stack.
|
@Stability(value=Stable) @NotNull String getAssetId()
@Stability(value=Stable) @NotNull String getAssetManifestPath()
This needs to be made relative at a later point in time, but when this information is parsed we don't know about the root cloud assembly yet.
@Stability(value=Stable) @NotNull String getAssetSelector()
@Stability(value=Stable) @NotNull AssetType getAssetType()
@Stability(value=Stable) @NotNull Boolean getIsTemplate()
Default: false
@Stability(value=Stable) @Nullable default String getAssetPublishingRoleArn()
Default: - No need to assume any role
@Stability(value=Stable) static StackAsset.Builder builder()
StackAsset.Builder of StackAssetCopyright © 2022. All rights reserved.