Package software.amazon.awscdk
Interface FileCopyOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
AssetImageCodeProps
,AssetImageProps
,AssetOptions
,AssetProps
,CustomCommandOptions
,DockerImageAssetOptions
,DockerImageAssetProps
,FileFingerprintOptions
,InitFileAssetOptions
,InitSourceAssetOptions
- All Known Implementing Classes:
AssetImageCodeProps.Jsii$Proxy
,AssetImageProps.Jsii$Proxy
,AssetOptions.Jsii$Proxy
,AssetProps.Jsii$Proxy
,CustomCommandOptions.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.104.0 (build e79254c)",
date="2024-12-17T21:37:25.066Z")
@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.*; FileCopyOptions fileCopyOptions = FileCopyOptions.builder() .exclude(List.of("exclude")) .followSymlinks(SymlinkFollowMode.NEVER) .ignoreMode(IgnoreMode.GLOB) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forFileCopyOptions
static final class
An implementation forFileCopyOptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic FileCopyOptions.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
-
getFollowSymlinks
A strategy for how to handle symlinks.Default: SymlinkFollowMode.NEVER
-
getIgnoreMode
The ignore behavior to use forexclude
patterns.Default: IgnoreMode.GLOB
-
builder
- Returns:
- a
FileCopyOptions.Builder
ofFileCopyOptions
-