Skip to content

IAsset

Common interface for all assets.

Properties

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

assetHashRequired

public readonly assetHash: string;
  • Type: string

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.