Class FileFingerprintOptions
Options related to calculating source hash.
Inheritance
System.Object
FileFingerprintOptions
Namespace: Amazon.CDK
Assembly: Amazon.CDK.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
FileFingerprintOptions() |
Properties
Exclude | Glob patterns to exclude from the copy. |
ExtraHash | Extra information to encode into the fingerprint (e.g. build instructions and other inputs). |
FollowSymlinks | A strategy for how to handle symlinks. |
IgnoreMode | The ignore behavior to use for exclude patterns. |
Constructors
FileFingerprintOptions()
public FileFingerprintOptions()
Properties
Exclude
Glob patterns to exclude from the copy.
public string[] Exclude { get; set; }
Property Value
System.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
System.String
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.Nullable<SymlinkFollowMode>
Remarks
Default: SymlinkFollowMode.NEVER
IgnoreMode
The ignore behavior to use for exclude patterns.
public Nullable<IgnoreMode> IgnoreMode { get; set; }
Property Value
System.Nullable<IgnoreMode>
Remarks
Default: IgnoreMode.GLOB