@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:42.409Z") @Stability(value=Experimental) 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
(experimental) Use a custom hash.
|
OUTPUT
(experimental) Based on the content of the bundling output.
|
SOURCE
(experimental) 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=Experimental) 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=Experimental) 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=Experimental) 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.