Class CopyOptions
Options applied when copying directories.
Implements
Inherited Members
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CopyOptions : ICopyOptions
Syntax (vb)
Public Class CopyOptions Implements 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 copyOptions = new CopyOptions {
Exclude = new [] { "exclude" },
Follow = SymlinkFollowMode.NEVER,
IgnoreMode = IgnoreMode.GLOB
};
Synopsis
Constructors
| CopyOptions() | Options applied when copying directories. |
Properties
| Exclude | File paths matching the patterns will be excluded. |
| Follow | A strategy for how to handle symlinks. |
| IgnoreMode | The ignore behavior to use for |
Constructors
CopyOptions()
Options applied when copying directories.
public CopyOptions()
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 copyOptions = new CopyOptions {
Exclude = new [] { "exclude" },
Follow = SymlinkFollowMode.NEVER,
IgnoreMode = IgnoreMode.GLOB
};
Properties
Exclude
File paths matching the patterns will be excluded.
public string[]? Exclude { get; set; }
Property Value
string[]
Remarks
See ignoreMode to set the matching behavior.
Has no effect on Assets bundled using the bundling property.
Default: - nothing is excluded
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