FileFingerprintOptions¶
-
class
aws_cdk.core.
FileFingerprintOptions
(*, exclude=None, follow_symlinks=None, ignore_mode=None, extra_hash=None)¶ Bases:
aws_cdk.core.FileCopyOptions
Options related to calculating source hash.
- Parameters
exclude (
Optional
[Sequence
[str
]]) – Glob patterns to exclude from the copy. Default: - nothing is excludedfollow_symlinks (
Optional
[SymlinkFollowMode
]) – A strategy for how to handle symlinks. Default: SymlinkFollowMode.NEVERignore_mode (
Optional
[IgnoreMode
]) – The ignore behavior to use for exclude patterns. Default: IgnoreMode.GLOBextra_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
- ExampleMetadata
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.core as cdk file_fingerprint_options = cdk.FileFingerprintOptions( exclude=["exclude"], extra_hash="extraHash", follow_symlinks=cdk.SymlinkFollowMode.NEVER, ignore_mode=cdk.IgnoreMode.GLOB )
Attributes
-
exclude
¶ Glob patterns to exclude from the copy.
- 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
hash is only based on source content
- Return type
Optional
[str
]
-
follow_symlinks
¶ A strategy for how to handle symlinks.
- Default
SymlinkFollowMode.NEVER
- Return type
Optional
[SymlinkFollowMode
]
-
ignore_mode
¶ The ignore behavior to use for exclude patterns.
- Default
IgnoreMode.GLOB
- Return type
Optional
[IgnoreMode
]