Skip to content

IAsset

Common interface for all assets.

Properties

Name Type Description
asset_hash str A hash of this asset, which is available at construction time.

asset_hashRequired

asset_hash: str
  • Type: str

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.