Enum BundlingFileAccess

All Implemented Interfaces:
Serializable, Comparable<BundlingFileAccess>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.99.0 (build 8f757e4)", date="2024-06-13T18:49:13.162Z") @Stability(Stable) public enum BundlingFileAccess extends Enum<BundlingFileAccess>
The access mechanism used to make source files available to the bundling container and to return the bundling output back to the host.


 GoFunction.Builder.create(this, "GoFunction")
  • Enum Constant Details


      @Stability(Stable) public static final BundlingFileAccess VOLUME_COPY
      Creates temporary volumes and containers to copy files from the host to the bundling container and back.

      This is slower, but works also in more complex situations with remote or shared docker sockets.


      @Stability(Stable) public static final BundlingFileAccess BIND_MOUNT
      The source and output folders will be mounted as bind mount from the host system This is faster and simpler, but less portable than VOLUME_COPY.
  • Method Details

    • values

      public static BundlingFileAccess[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static BundlingFileAccess valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null