Package software.amazon.awscdk.core
Interface FileCopyOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
AssetImageCodeProps,AssetImageProps,AssetOptions,AssetProps,DockerImageAssetOptions,DockerImageAssetProps,FileFingerprintOptions,InitFileAssetOptions,InitSourceAssetOptions
- All Known Implementing Classes:
AssetImageCodeProps.Jsii$Proxy,AssetImageProps.Jsii$Proxy,AssetOptions.Jsii$Proxy,AssetProps.Jsii$Proxy,DockerImageAssetOptions.Jsii$Proxy,DockerImageAssetProps.Jsii$Proxy,FileCopyOptions.Jsii$Proxy,FileFingerprintOptions.Jsii$Proxy,InitFileAssetOptions.Jsii$Proxy,InitSourceAssetOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:55.039Z")
@Stability(Stable)
public interface FileCopyOptions
extends software.amazon.jsii.JsiiSerializable
Options 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 software.amazon.awscdk.core.*;
FileCopyOptions fileCopyOptions = FileCopyOptions.builder()
.exclude(List.of("exclude"))
.followSymlinks(SymlinkFollowMode.NEVER)
.ignoreMode(IgnoreMode.GLOB)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forFileCopyOptionsstatic final classAn implementation forFileCopyOptions -
Method Summary
Modifier and TypeMethodDescriptionstatic FileCopyOptions.Builderbuilder()Glob patterns to exclude from the copy.default SymlinkFollowModeA strategy for how to handle symlinks.default IgnoreModeThe 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
-
getFollowSymlinks
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
FileCopyOptions.BuilderofFileCopyOptions
-