interface IAsset
Language | Type name |
---|---|
.NET | Amazon.CDK.Assets.IAsset |
Java | software.amazon.awscdk.assets.IAsset |
Python | aws_cdk.assets.IAsset |
TypeScript (source) | @aws-cdk/assets » IAsset |
⚠️ Deprecated: use core.IAsset
Implemented by
Docker
, Tarball
Common interface for all assets.
Properties
Name | Type | Description |
---|---|---|
source | string | A hash of the source of this asset, which is available at construction time. |
sourceHash
⚠️ Deprecated: use core.IAsset
Type:
string
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.