Package software.amazon.awscdk
Enum AssetHashType
- All Implemented Interfaces:
Serializable
,Comparable<AssetHashType>
,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:23:55.639Z")
@Stability(Stable)
public enum AssetHashType
extends Enum<AssetHashType>
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AssetHashType
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.
-
Enum Constant Details
-
SOURCE
Based on the content of the source path.When bundling, use
SOURCE
when the content of the bundling output is not stable across repeated bundling operations. -
OUTPUT
Based on the content of the bundling 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. -
CUSTOM
Use a custom hash.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-