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
[Sequence
[str
]]) – (deprecated) Glob patterns to exclude from the copy. Default: nothing is excludedfollow (
Optional
[FollowMode
]) – (deprecated) A strategy for how to handle symlinks. Default: Neverignore_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
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.assets as assets import aws_cdk.core as cdk copy_options = assets.CopyOptions( exclude=["exclude"], follow=assets.FollowMode.NEVER, ignore_mode=cdk.IgnoreMode.GLOB )
Attributes
- exclude
(deprecated) Glob patterns to exclude from the copy.
- Default:
nothing is excluded
- Stability:
deprecated
- follow
(deprecated) A strategy for how to handle symlinks.
- Default:
Never
- Deprecated:
use
followSymlinks
instead- Stability:
deprecated
- 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.