IAsset

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

Bases: typing_extensions.Protocol

Common interface for all assets.

__init__(*args, **kwargs)

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.

Return type

str