interface CopyOptions
This page is available in another version. Click here for the v2 documentation.
Language | Type name |
---|---|
![]() | Amazon.CDK.CopyOptions |
![]() | software.amazon.awscdk.core.CopyOptions |
![]() | aws_cdk.core.CopyOptions |
![]() | @aws-cdk/core » CopyOptions |
Options applied when copying directories.
Example
// 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/core';
const copyOptions: cdk.CopyOptions = {
exclude: ['exclude'],
follow: cdk.SymlinkFollowMode.NEVER,
ignoreMode: cdk.IgnoreMode.GLOB,
};
Properties
Name | Type | Description |
---|---|---|
exclude? | string[] | Glob patterns to exclude from the copy. |
follow? | Symlink | A strategy for how to handle symlinks. |
ignore | Ignore | The ignore behavior to use for exclude patterns. |
exclude?
Type:
string[]
(optional, default: nothing is excluded)
Glob patterns to exclude from the copy.
follow?
Type:
Symlink
(optional, default: SymlinkFollowMode.NEVER)
A strategy for how to handle symlinks.
ignoreMode?
Type:
Ignore
(optional, default: IgnoreMode.GLOB)
The ignore behavior to use for exclude patterns.