FingerprintOptions

class aws_cdk.core.FingerprintOptions(*, exclude=None, follow=None, extra_hash=None)

Bases: aws_cdk.core.CopyOptions

__init__(*, exclude=None, follow=None, extra_hash=None)

Options related to calculating source hash.

Parameters
  • exclude (Optional[List[str]]) – Glob patterns to exclude from the copy. Default: - nothing is excluded

  • follow (Optional[SymlinkFollowMode]) – A strategy for how to handle symlinks. Default: SymlinkFollowMode.NEVER

  • extra_hash (Optional[str]) – Extra information to encode into the fingerprint (e.g. build instructions and other inputs). Default: - hash is only based on source content

Return type

None

Attributes

exclude

Glob patterns to exclude from the copy.

default :default: - nothing is excluded

Return type

Optional[List[str]]

extra_hash

Extra information to encode into the fingerprint (e.g. build instructions and other inputs).

default :default: - hash is only based on source content

Return type

Optional[str]

follow

A strategy for how to handle symlinks.

default :default: SymlinkFollowMode.NEVER

Return type

Optional[SymlinkFollowMode]