CopyOptions

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

Bases: object

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[SymlinkFollowMode]) – A strategy for how to handle symlinks. Default: SymlinkFollowMode.NEVER

  • ignore_mode (Optional[IgnoreMode]) – The ignore behavior to use for exclude patterns. Default: IgnoreMode.GLOB

Attributes

exclude

Glob patterns to exclude from the copy.

Default
  • nothing is excluded

Return type

Optional[List[str]]

follow

A strategy for how to handle symlinks.

Default

SymlinkFollowMode.NEVER

Return type

Optional[SymlinkFollowMode]

ignore_mode

The ignore behavior to use for exclude patterns.

Default

IgnoreMode.GLOB

Return type

Optional[IgnoreMode]