Package software.amazon.awscdk
Interface CopyOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
AssetStagingProps,FingerprintOptions
- All Known Implementing Classes:
AssetStagingProps.Jsii$Proxy,CopyOptions.Jsii$Proxy,FingerprintOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:03.733Z")
@Stability(Stable)
public interface CopyOptions
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.*;
CopyOptions copyOptions = CopyOptions.builder()
.exclude(List.of("exclude"))
.follow(SymlinkFollowMode.NEVER)
.ignoreMode(IgnoreMode.GLOB)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCopyOptionsstatic final classAn implementation forCopyOptions -
Method Summary
Modifier and TypeMethodDescriptionstatic CopyOptions.Builderbuilder()File paths matching the patterns will be excluded.default SymlinkFollowModeA strategy for how to handle symlinks.default IgnoreModeThe ignore behavior to use forexcludepatterns.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getExclude
File paths matching the patterns will be excluded.See
ignoreModeto set the matching behavior. Has no effect on Assets bundled using thebundlingproperty.Default: - nothing is excluded
-
getFollow
A strategy for how to handle symlinks.Default: SymlinkFollowMode.NEVER
-
getIgnoreMode
The ignore behavior to use forexcludepatterns.Default: IgnoreMode.GLOB
-
builder
- Returns:
- a
CopyOptions.BuilderofCopyOptions
-