CopyOptions

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

Bases: object

(deprecated) Obtains applied when copying directories into the staging location.

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

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

  • ignore_mode (Optional[IgnoreMode]) – (deprecated) The ignore behavior to use for exclude patterns. Default: - GLOB for file assets, DOCKER or GLOB for docker assets depending on whether the ‘

Deprecated

see core.CopyOptions

Stability

deprecated

Attributes

exclude

(deprecated) Glob patterns to exclude from the copy.

Default

nothing is excluded

Stability

deprecated

Return type

Optional[List[str]]

follow

(deprecated) A strategy for how to handle symlinks.

Default

Never

Stability

deprecated

Return type

Optional[FollowMode]

ignore_mode

(deprecated) The ignore behavior to use for exclude patterns.

Default

  • GLOB for file assets, DOCKER or GLOB for docker assets depending on whether the

Stability

deprecated

Aws-cdk

/aws-ecr-assets:dockerIgnoreSupport’ flag is set.

Return type

Optional[IgnoreMode]