IAsset

class aws_cdk.assets.IAsset(*args, **kwds)

Bases: typing_extensions.Protocol

(deprecated) Common interface for all assets.

Deprecated

use core.IAsset

Stability

deprecated

Attributes

source_hash

(deprecated) A hash of the source 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.

Stability

deprecated

Return type

str