Class FileFingerprintOptions
Options related to calculating source hash.
Inheritance
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class FileFingerprintOptions : Object, IFileFingerprintOptions, IFileCopyOptions
Syntax (vb)
Public Class FileFingerprintOptions
Inherits Object
Implements IFileFingerprintOptions, IFileCopyOptions
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;
var fileFingerprintOptions = new FileFingerprintOptions {
Exclude = new [] { "exclude" },
ExtraHash = "extraHash",
FollowSymlinks = SymlinkFollowMode.NEVER,
IgnoreMode = IgnoreMode.GLOB
};
Synopsis
Constructors
File |
Properties
Exclude | File paths matching the patterns will be excluded. |
Extra |
Extra information to encode into the fingerprint (e.g. build instructions and other inputs). |
Follow |
A strategy for how to handle symlinks. |
Ignore |
The ignore behavior to use for |
Constructors
FileFingerprintOptions()
public FileFingerprintOptions()
Properties
Exclude
File paths matching the patterns will be excluded.
public string[] Exclude { get; set; }
Property Value
System.
Remarks
See ignoreMode
to set the matching behavior.
Has no effect on Assets bundled using the bundling
property.
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
System.
Remarks
Default: - hash is only based on source content
FollowSymlinks
A strategy for how to handle symlinks.
public Nullable<SymlinkFollowMode> FollowSymlinks { get; set; }
Property Value
System.
Remarks
Default: SymlinkFollowMode.NEVER
IgnoreMode
The ignore behavior to use for exclude
patterns.
public Nullable<IgnoreMode> IgnoreMode { get; set; }
Property Value
System.
Remarks
Default: IgnoreMode.GLOB