Package software.amazon.awscdk.core
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.84.0 (build 5404dcf)",
date="2023-06-19T16:29:54.985Z")
@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.core.*; 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()
Glob patterns to exclude from the copy.default SymlinkFollowMode
A strategy for how to handle symlinks.default IgnoreMode
The ignore behavior to use for exclude patterns.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getExclude
Glob patterns to exclude from the copy.Default: - nothing is excluded
-
getFollow
A strategy for how to handle symlinks.Default: SymlinkFollowMode.NEVER
-
getIgnoreMode
The ignore behavior to use for exclude patterns.Default: IgnoreMode.GLOB
-
builder
- Returns:
- a
CopyOptions.Builder
ofCopyOptions
-