Table of Contents

Enum AssetHashType

Namespace
Amazon.CDK
Assembly
Amazon.CDK.dll

The type of asset hash.

public enum AssetHashType

Fields

[Obsolete("use `OUTPUT` instead")] BUNDLE = 1

(deprecated) Based on the content of the bundled path.

CUSTOM = 3

Use a custom hash.

OUTPUT = 2

Based on the content of the bundling output.

SOURCE = 0

Based on the content of the source path.

Remarks

NOTE: the hash is used in order to identify a specific revision of the asset, and used for optimizing and caching deployment activities related to this asset such as packaging, uploading to Amazon S3, etc.