aws-cdk-lib.IAsset

interface IAsset

LanguageType name
.NETAmazon.CDK.IAsset
Gogithub.com/aws/aws-cdk-go/awscdk/v2#IAsset
Javasoftware.amazon.awscdk.IAsset
Pythonaws_cdk.IAsset
TypeScript (source)aws-cdk-lib » IAsset

Implemented by Asset

Common interface for all assets.

Properties

NameTypeDescription
assetHashstringA hash of this asset, which is available at construction time.

assetHash

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.