# SymlinkFollowMode

Determines how symlinks are followed.

- Source: [`core/lib/fs/options.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/core/lib/fs/options.ts#L4)

## Members

| Member | Description |
| --- | --- |
| `NEVER` | Copy symlinks themselves (do not follow, preserve the symlink contents). |
| `ALWAYS` | Copy all the files the symlinks point to (always follow). |
| `EXTERNAL` | Materialize symlinks pointing outside, leave symlinks pointing inside. |
| `BLOCK_EXTERNAL` | Forbids source from having any symlinks pointing outside of the source tree. |

## Referenced by

- [`CopyOptions`](/v2/docs/aws-cdk-lib.CopyOptions).follow
- [`FileCopyOptions`](/v2/docs/aws-cdk-lib.FileCopyOptions).followSymlinks
