FollowMode

class aws_cdk.assets.FollowMode

Bases: enum.Enum

stability :stability: experimental

Attributes

ALWAYS

Materialize all symlinks, whether they are internal or external to the source directory.

stability :stability: experimental

BLOCK_EXTERNAL

Forbids source from having any symlinks pointing outside of the source tree.

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.

stability :stability: experimental

EXTERNAL

Only follows symlinks that are external to the source directory.

stability :stability: experimental

NEVER

Never follow symlinks.

stability :stability: experimental

Attributes

ALWAYS = 'ALWAYS'

Materialize all symlinks, whether they are internal or external to the source directory.

stability :stability: experimental

BLOCK_EXTERNAL = 'BLOCK_EXTERNAL'

Forbids source from having any symlinks pointing outside of the source tree.

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.

stability :stability: experimental

EXTERNAL = 'EXTERNAL'

Only follows symlinks that are external to the source directory.

stability :stability: experimental

NEVER = 'NEVER'

Never follow symlinks.

stability :stability: experimental