Interface IAsset

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IAsset.Jsii$Default
All Known Implementing Classes:
Asset, IAsset.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:55.070Z") @Stability(Stable) public interface IAsset extends software.amazon.jsii.JsiiSerializable
Common interface for all assets.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Internal default implementation for IAsset.
    static final class 
    A proxy class which represents a concrete javascript instance of this type.
  • Method Summary

    Modifier and Type
    Method
    Description
    A hash of this asset, which is available at construction time.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • getAssetHash

      @Stability(Stable) @NotNull String getAssetHash()
      A hash of this asset, which is available at construction time.

      As this is a plain string, it can be used in construct IDs in order to enforce creation of a new resource when the content hash has changed.