Show / Hide Table of Contents

Class FileCopyOptions

Options applied when copying directories into the staging location.

Inheritance
object
FileCopyOptions
Implements
IFileCopyOptions
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 FileCopyOptions : IFileCopyOptions
Syntax (vb)
Public Class FileCopyOptions Implements IFileCopyOptions
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 fileCopyOptions = new FileCopyOptions {
                Exclude = new [] { "exclude" },
                FollowSymlinks = SymlinkFollowMode.NEVER,
                IgnoreMode = IgnoreMode.GLOB
            };

Synopsis

Constructors

FileCopyOptions()

Options applied when copying directories into the staging location.

Properties

Exclude

File paths matching the patterns will be excluded.

FollowSymlinks

A strategy for how to handle symlinks.

IgnoreMode

The ignore behavior to use for exclude patterns.

Constructors

FileCopyOptions()

Options applied when copying directories into the staging location.

public FileCopyOptions()
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 fileCopyOptions = new FileCopyOptions {
                Exclude = new [] { "exclude" },
                FollowSymlinks = 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

FollowSymlinks

A strategy for how to handle symlinks.

public SymlinkFollowMode? FollowSymlinks { 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

IFileCopyOptions
Back to top Generated by DocFX