Package software.amazon.awscdk.pipelines
Interface StackAsset
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
StackAsset.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:49.888Z")
@Stability(Stable)
public interface StackAsset
extends software.amazon.jsii.JsiiSerializable
An asset used by a Stack.
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forStackAssetstatic final classAn implementation forStackAsset -
Method Summary
Modifier and TypeMethodDescriptionstatic StackAsset.Builderbuilder()Asset identifier.Absolute asset manifest path.default StringRole ARN to assume to publish.Asset selector to pass tocdk-assets.Type of asset to publish.Does this asset represent the CloudFormation template for the stack.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAssetId
Asset identifier. -
getAssetManifestPath
Absolute asset manifest path.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.
-
getAssetSelector
Asset selector to pass tocdk-assets. -
getAssetType
Type of asset to publish. -
getIsTemplate
Does this asset represent the CloudFormation template for the stack.Default: false
-
getAssetPublishingRoleArn
Role ARN to assume to publish.Default: - No need to assume any role
-
builder
- Returns:
- a
StackAsset.BuilderofStackAsset
-