Module: AWSCDK::AssetHashType
- Defined in:
- asset_hash_type.rb
Overview
The type of asset hash.
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.
Constant Summary collapse
- SOURCE =
Deprecated.Note:
Default:
Based on the content of the source path.
When bundling, use
SOURCEwhen the content of the bundling output is not stable across repeated bundling operations. Jsii::Enum.new("aws-cdk-lib.AssetHashType", "SOURCE")
- OUTPUT =
Deprecated.Note:
Default:
Based on the content of the bundling output.
Use
OUTPUTwhen the source of the asset is a top level folder containing code and/or dependencies that are not directly linked to the asset. Jsii::Enum.new("aws-cdk-lib.AssetHashType", "OUTPUT")
- CUSTOM =
Deprecated.Note:
Default:
Use a custom hash.
Jsii::Enum.new("aws-cdk-lib.AssetHashType", "CUSTOM")