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

    • getExclude

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

      Default: - nothing is excluded

    • getFollow

      @Stability(Stable) @Nullable default SymlinkFollowMode getFollow()
      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 CopyOptions.Builder builder()
      Returns:
      a CopyOptions.Builder of CopyOptions