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.104.0 (build e79254c)",
date="2024-12-06T14:43:28.778Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forStackAsset
static final class
An implementation forStackAsset
-
Method Summary
Modifier and TypeMethodDescriptionstatic StackAsset.Builder
builder()
Asset identifier.Absolute asset manifest path.default String
Role 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.Builder
ofStackAsset
-