interface CopyOptions
Language | Type name |
---|---|
.NET | Amazon.CDK.Assets.CopyOptions |
Java | software.amazon.awscdk.assets.CopyOptions |
Python | aws_cdk.assets.CopyOptions |
TypeScript (source) | @aws-cdk/assets » CopyOptions |
⚠️ Deprecated: see core.CopyOptions
Obtains applied when copying directories into the staging location.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as assets from '@aws-cdk/assets';
import * as cdk from '@aws-cdk/core';
const copyOptions: assets.CopyOptions = {
exclude: ['exclude'],
follow: assets.FollowMode.NEVER,
ignoreMode: cdk.IgnoreMode.GLOB,
};
Properties
Name | Type | Description |
---|---|---|
exclude? | string[] | Glob patterns to exclude from the copy. |
follow? | Follow | A strategy for how to handle symlinks. |
ignore | Ignore | The ignore behavior to use for exclude patterns. |
exclude?
⚠️ Deprecated: see core.CopyOptions
Type:
string[]
(optional, default: nothing is excluded)
Glob patterns to exclude from the copy.
follow?
⚠️ Deprecated: use followSymlinks
instead
Type:
Follow
(optional, default: Never)
A strategy for how to handle symlinks.
ignoreMode?
⚠️ Deprecated: see core.CopyOptions
Type:
Ignore
(optional, default: GLOB for file assets, DOCKER or GLOB for docker assets depending on whether the
')
The ignore behavior to use for exclude patterns.