Class FingerprintOptions
Options related to calculating source hash.
Inheritance
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class FingerprintOptions : Object, IFingerprintOptions, ICopyOptions
Syntax (vb)
Public Class FingerprintOptions
Inherits Object
Implements IFingerprintOptions, ICopyOptions
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 fingerprintOptions = new FingerprintOptions {
Exclude = new [] { "exclude" },
ExtraHash = "extraHash",
Follow = SymlinkFollowMode.NEVER,
IgnoreMode = IgnoreMode.GLOB
};
Synopsis
Constructors
FingerprintOptions() |
Properties
Exclude | File paths matching the patterns will be excluded. |
ExtraHash | Extra information to encode into the fingerprint (e.g. build instructions and other inputs). |
Follow | A strategy for how to handle symlinks. |
IgnoreMode | The ignore behavior to use for |
Constructors
FingerprintOptions()
public FingerprintOptions()
Properties
Exclude
File paths matching the patterns will be excluded.
public string[] Exclude { get; set; }
Property Value
System.String[]
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.String
Remarks
Default: - hash is only based on source content
Follow
A strategy for how to handle symlinks.
public Nullable<SymlinkFollowMode> Follow { 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