IAsset

class aws_cdk.IAsset(*args, **kwargs)

Bases: Protocol

Common interface for all assets.

Attributes

asset_hash

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.