Show / Hide Table of Contents

Interface ICopyOptions

Options applied when copying directories.

Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICopyOptions
Syntax (vb)
Public Interface 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

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 exclude patterns.

Properties

Exclude

File paths matching the patterns will be excluded.

string[]? Exclude { get; }
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.

SymlinkFollowMode? Follow { get; }
Property Value

SymlinkFollowMode?

Remarks

Default: SymlinkFollowMode.NEVER

IgnoreMode

The ignore behavior to use for exclude patterns.

IgnoreMode? IgnoreMode { get; }
Property Value

IgnoreMode?

Remarks

Default: IgnoreMode.GLOB

Back to top Generated by DocFX