Show / Hide Table of Contents

Class CopyOptions

Options applied when copying directories.

Inheritance
object
CopyOptions
Implements
ICopyOptions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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 exclude patterns.

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

SymlinkFollowMode?

Remarks

Default: SymlinkFollowMode.NEVER

IgnoreMode

The ignore behavior to use for exclude patterns.

public IgnoreMode? IgnoreMode { get; set; }
Property Value

IgnoreMode?

Remarks

Default: IgnoreMode.GLOB

Implements

ICopyOptions
Back to top Generated by DocFX