CopyOptions

class aws_cdk.assets.CopyOptions(*, exclude=None, follow=None)

Bases: object

__init__(*, exclude=None, follow=None)

Obtains applied when copying directories into the staging location.

Parameters
  • exclude (Optional[List[str]]) – Glob patterns to exclude from the copy. Default: nothing is excluded

  • follow (Optional[FollowMode]) – A strategy for how to handle symlinks. Default: Never

stability :stability: experimental

Attributes

exclude

Glob patterns to exclude from the copy.

default :default: nothing is excluded

stability :stability: experimental

Return type

Optional[List[str]]

follow

A strategy for how to handle symlinks.

default :default: Never

stability :stability: experimental

Return type

Optional[FollowMode]