CopyOptions Struct
Options applied when copying directories.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
const copyOptions: cdk.CopyOptions = {
exclude: ['exclude'],
follow: cdk.SymlinkFollowMode.NEVER,
ignoreMode: cdk.IgnoreMode.GLOB,
};
Properties
File paths matching the patterns will be excluded.
Default: nothing is excluded
See ignoreMode to set the matching behavior. Has no effect on Assets bundled using the bundling property.
followSymlinkFollowModefollowSymlinkFollowModefollowSymlinkFollowModeFollowSymlinkFollowModeFollowSymlinkFollowMode= SymlinkFollowMode.NEVER#A strategy for how to handle symlinks.
ignoreModeIgnoreModeignore_modeIgnoreModeignoreModeIgnoreModeIgnoreModeIgnoreModeIgnoreModeIgnoreMode= IgnoreMode.GLOB#The ignore behavior to use for `exclude` patterns.