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();
 
  • Method Details

    • getExclude

      @Stability(Stable) @Nullable default List<String> getExclude()
      Glob patterns to exclude from the copy.

      Default: - nothing is excluded

    • getFollowSymlinks

      @Stability(Stable) @Nullable default SymlinkFollowMode getFollowSymlinks()
      A strategy for how to handle symlinks.

      Default: SymlinkFollowMode.NEVER

    • getIgnoreMode

      @Stability(Stable) @Nullable default IgnoreMode getIgnoreMode()
      The ignore behavior to use for exclude patterns.

      Default: IgnoreMode.GLOB

    • builder

      @Stability(Stable) static FileCopyOptions.Builder builder()
      Returns:
      a FileCopyOptions.Builder of FileCopyOptions