Interface StackAsset

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:49.888Z") @Stability(Stable) public interface StackAsset extends
An asset used by a Stack.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 StackAsset stackAsset = StackAsset.builder()
         // the properties below are optional
  • Method Details

    • getAssetId

      @Stability(Stable) @NotNull String getAssetId()
      Asset identifier.
    • getAssetManifestPath

      @Stability(Stable) @NotNull String 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

      @Stability(Stable) @NotNull String getAssetSelector()
      Asset selector to pass to cdk-assets.
    • getAssetType

      @Stability(Stable) @NotNull AssetType getAssetType()
      Type of asset to publish.
    • getIsTemplate

      @Stability(Stable) @NotNull Boolean getIsTemplate()
      Does this asset represent the CloudFormation template for the stack.

      Default: false

    • getAssetPublishingRoleArn

      @Stability(Stable) @Nullable default String getAssetPublishingRoleArn()
      Role ARN to assume to publish.

      Default: - No need to assume any role

    • builder

      @Stability(Stable) static StackAsset.Builder builder()
      a StackAsset.Builder of StackAsset