interface FingerprintOptions
Language | Type name |
---|---|
.NET | Amazon.CDK.Assets.FingerprintOptions |
Java | software.amazon.awscdk.assets.FingerprintOptions |
Python | aws_cdk.assets.FingerprintOptions |
TypeScript (source) | @aws-cdk/assets » FingerprintOptions |
⚠️ Deprecated: see core.FingerprintOptions
Options related to calculating source hash.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as assets from '@aws-cdk/assets';
import * as cdk from '@aws-cdk/core';
const fingerprintOptions: assets.FingerprintOptions = {
exclude: ['exclude'],
extraHash: 'extraHash',
follow: assets.FollowMode.NEVER,
ignoreMode: cdk.IgnoreMode.GLOB,
};
Properties
Name | Type | Description |
---|---|---|
exclude? | string[] | Glob patterns to exclude from the copy. |
extra | string | Extra information to encode into the fingerprint (e.g. build instructions and other inputs). |
follow? | Follow | A strategy for how to handle symlinks. |
ignore | Ignore | The ignore behavior to use for exclude patterns. |
exclude?
⚠️ Deprecated: see core.FingerprintOptions
Type:
string[]
(optional, default: nothing is excluded)
Glob patterns to exclude from the copy.
extraHash?
⚠️ Deprecated: see core.FingerprintOptions
Type:
string
(optional, default: hash is only based on source content)
Extra information to encode into the fingerprint (e.g. build instructions and other inputs).
follow?
⚠️ Deprecated: use followSymlinks
instead
Type:
Follow
(optional, default: Never)
A strategy for how to handle symlinks.
ignoreMode?
⚠️ Deprecated: see core.FingerprintOptions
Type:
Ignore
(optional, default: GLOB for file assets, DOCKER or GLOB for docker assets depending on whether the
')
The ignore behavior to use for exclude patterns.