Interface PythonLayerVersionProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable, LayerVersionOptions
All Known Implementing Classes:
PythonLayerVersionProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:15.898Z") @Stability(Experimental) public interface PythonLayerVersionProps extends software.amazon.jsii.JsiiSerializable, LayerVersionOptions
(experimental) Properties for PythonLayerVersion.

Example:

 PythonLayerVersion.Builder.create(this, "MyLayer")
         .entry("/path/to/my/layer")
         .build();
 
  • Method Details

    • getEntry

      @Stability(Experimental) @NotNull String getEntry()
      (experimental) The path to the root directory of the lambda layer.
    • getBundling

      @Stability(Experimental) @Nullable default BundlingOptions getBundling()
      (experimental) Bundling options to use for this function.

      Use this to specify custom bundling options like the bundling Docker image, asset hash type, custom hash, architecture, etc.

      Default: - Use the default bundling Docker image, with x86_64 architecture.

    • getCompatibleArchitectures

      @Stability(Experimental) @Nullable default List<Architecture> getCompatibleArchitectures()
      (experimental) The system architectures compatible with this layer.

      Default: [Architecture.X86_64]

    • getCompatibleRuntimes

      @Stability(Experimental) @Nullable default List<Runtime> getCompatibleRuntimes()
      (experimental) The runtimes compatible with the python layer.

      Default: - Only Python 3.7 is supported.

    • builder

      @Stability(Experimental) static PythonLayerVersionProps.Builder builder()
      Returns:
      a PythonLayerVersionProps.Builder of PythonLayerVersionProps