Class FingerprintOptions
Options related to calculating source hash.
public class FingerprintOptions : IFingerprintOptions, ICopyOptions
- Inheritance
-
FingerprintOptions
- Implements
- Inherited Members
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;
var fingerprintOptions = new FingerprintOptions {
Exclude = new [] { "exclude" },
ExtraHash = "extraHash",
Follow = SymlinkFollowMode.NEVER,
IgnoreMode = IgnoreMode.GLOB
};
Remarks
ExampleMetadata: fixture=_generated
Constructors
FingerprintOptions()
public FingerprintOptions()
Properties
Exclude
Glob patterns to exclude from the copy.
public string[]? Exclude { get; set; }
Property Value
- string[]
Remarks
Default: - nothing is excluded
ExtraHash
Extra information to encode into the fingerprint (e.g. build instructions and other inputs).
public string? ExtraHash { get; set; }
Property Value
Remarks
Default: - hash is only based on source content
Follow
A strategy for how to handle symlinks.
public SymlinkFollowMode? Follow { get; set; }
Property Value
Remarks
Default: SymlinkFollowMode.NEVER
IgnoreMode
The ignore behavior to use for exclude patterns.
public IgnoreMode? IgnoreMode { get; set; }
Property Value
Remarks
Default: IgnoreMode.GLOB