@Generated(value="jsii-pacmak/1.15.0 (build 585166b)", date="2021-01-21T13:42:48.339Z") @Stability(value=Stable) public enum AssetHashType extends Enum<AssetHashType>
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.
| Enum Constant and Description |
|---|
BUNDLE
Deprecated.
use `OUTPUT` instead
|
CUSTOM
Use a custom hash.
|
OUTPUT
Based on the content of the bundling output.
|
SOURCE
Based on the content of the source path.
|
| Modifier and Type | Method and Description |
|---|---|
static AssetHashType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AssetHashType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Stable) public static final AssetHashType SOURCE
When bundling, use SOURCE when the content of the bundling output is not
stable across repeated bundling operations.
@Stability(value=Deprecated) @Deprecated public static final AssetHashType BUNDLE
@Stability(value=Stable) public static final AssetHashType OUTPUT
Use OUTPUT when the source of the asset is a top level folder containing
code and/or dependencies that are not directly linked to the asset.
@Stability(value=Stable) public static final AssetHashType CUSTOM
public static AssetHashType[] values()
for (AssetHashType c : AssetHashType.values()) System.out.println(c);
public static AssetHashType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021. All rights reserved.