IAsset¶
-
class
aws_cdk.core.
IAsset
(*args, **kwds)¶ Bases:
typing_extensions.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.
- Return type
str
-