CopyOptions

class aws_cdk.assets.CopyOptions(*, exclude=None, follow=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[FollowMode]) – A strategy for how to handle symlinks. Default: Never

deprecated :deprecated: see core.CopyOptions

stability :stability: deprecated

Attributes

exclude

Glob patterns to exclude from the copy.

default :default: nothing is excluded

stability :stability: deprecated

Return type

Optional[List[str]]

follow

A strategy for how to handle symlinks.

default :default: Never

stability :stability: deprecated

Return type

Optional[FollowMode]