Interface CopyOptions

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
AssetImageCodeProps, AssetImageProps, AssetOptions, AssetProps, DockerImageAssetOptions, DockerImageAssetProps, FingerprintOptions, InitFileAssetOptions, InitSourceAssetOptions, StagingProps
All Known Implementing Classes:
AssetImageCodeProps.Jsii$Proxy, AssetImageProps.Jsii$Proxy, AssetOptions.Jsii$Proxy, AssetProps.Jsii$Proxy, CopyOptions.Jsii$Proxy, DockerImageAssetOptions.Jsii$Proxy, DockerImageAssetProps.Jsii$Proxy, FingerprintOptions.Jsii$Proxy, InitFileAssetOptions.Jsii$Proxy, InitSourceAssetOptions.Jsii$Proxy, StagingProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:55.211Z") @Stability(Deprecated) @Deprecated public interface CopyOptions extends software.amazon.jsii.JsiiSerializable
Deprecated.
see core.CopyOptions
(deprecated) Obtains 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.assets.*;
 import software.amazon.awscdk.core.*;
 CopyOptions copyOptions = CopyOptions.builder()
         .exclude(List.of("exclude"))
         .follow(FollowMode.NEVER)
         .ignoreMode(IgnoreMode.GLOB)
         .build();
 

  • Method Details

    • getExclude

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

      Default: nothing is excluded

    • getFollow

      @Stability(Deprecated) @Deprecated @Nullable default FollowMode getFollow()
      Deprecated.
      use followSymlinks instead
      (deprecated) A strategy for how to handle symlinks.

      Default: Never

    • getIgnoreMode

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

      Default: - GLOB for file assets, DOCKER or GLOB for docker assets depending on whether the '

    • builder

      @Stability(Deprecated) @Deprecated static CopyOptions.Builder builder()
      Deprecated.
      Returns:
      a CopyOptions.Builder of CopyOptions