Class SymlinkFollowMode
Determines how symlinks are followed.
Inheritance
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public sealed class SymlinkFollowMode : Enum
Syntax (vb)
Public NotInheritable Class SymlinkFollowMode
Inherits
Enum
Synopsis
Fields
ALWAYS | Materialize all symlinks, whether they are internal or external to the source directory. |
BLOCK_EXTERNAL | Forbids source from having any symlinks pointing outside of the source tree. |
EXTERNAL | Only follows symlinks that are external to the source directory. |
NEVER | Never follow symlinks. |
value__ |
Fields
ALWAYS
Materialize all symlinks, whether they are internal or external to the source directory.
public const SymlinkFollowMode ALWAYS
Field Value
Type | Description |
---|---|
SymlinkFollowMode |
BLOCK_EXTERNAL
Forbids source from having any symlinks pointing outside of the source tree.
public const SymlinkFollowMode BLOCK_EXTERNAL
Field Value
Type | Description |
---|---|
SymlinkFollowMode |
Remarks
This is the safest mode of operation as it ensures that copy operations won't materialize files from the user's file system. Internal symlinks are not followed.
If the copy operation runs into an external symlink, it will fail.
EXTERNAL
Only follows symlinks that are external to the source directory.
public const SymlinkFollowMode EXTERNAL
Field Value
Type | Description |
---|---|
SymlinkFollowMode |
NEVER
Never follow symlinks.
public const SymlinkFollowMode NEVER
Field Value
Type | Description |
---|---|
SymlinkFollowMode |
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |