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.104.0 (build e79254c)",
date="2025-01-04T09:06:16.246Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCopyOptions
static final class
An implementation forCopyOptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic CopyOptions.Builder
builder()
File paths matching the patterns will be excluded.default SymlinkFollowMode
A strategy for how to handle symlinks.default IgnoreMode
The ignore behavior to use forexclude
patterns.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getExclude
File paths matching the patterns will be excluded.See
ignoreMode
to set the matching behavior. Has no effect on Assets bundled using thebundling
property.Default: - nothing is excluded
-
getFollow
A strategy for how to handle symlinks.Default: SymlinkFollowMode.NEVER
-
getIgnoreMode
The ignore behavior to use forexclude
patterns.Default: IgnoreMode.GLOB
-
builder
- Returns:
- a
CopyOptions.Builder
ofCopyOptions
-