Interface IFileCopyOptions
Options applied when copying directories into the staging location.
public interface IFileCopyOptions
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;
var fileCopyOptions = new FileCopyOptions {
Exclude = new [] { "exclude" },
FollowSymlinks = SymlinkFollowMode.NEVER,
IgnoreMode = IgnoreMode.GLOB
};
Remarks
ExampleMetadata: fixture=_generated
Properties
Exclude
Glob patterns to exclude from the copy.
string[]? Exclude { get; }
Property Value
- string[]
Remarks
Default: - nothing is excluded
FollowSymlinks
A strategy for how to handle symlinks.
SymlinkFollowMode? FollowSymlinks { get; }
Property Value
Remarks
Default: SymlinkFollowMode.NEVER
IgnoreMode
The ignore behavior to use for exclude patterns.
IgnoreMode? IgnoreMode { get; }
Property Value
Remarks
Default: IgnoreMode.GLOB