# 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.

- Source: [`core/lib/assets.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0/packages/aws-cdk-lib/core/lib/assets.ts#L67)

## Members

| Member | Description |
| --- | --- |
| `SOURCE` | Based on the content of the source path. |
| `OUTPUT` | Based on the content of the bundling output. |
| `CUSTOM` | Use a custom hash. |

## Referenced by

- [`AssetOptions`](/v2/docs/aws-cdk-lib.AssetOptions).assetHashType
- [`BundlingOptions`](/v2/docs/@aws-cdk_aws-lambda-go-alpha.BundlingOptions).assetHashType
- [`BundlingOptions`](/v2/docs/@aws-cdk_aws-lambda-python-alpha.BundlingOptions).assetHashType
