Interface PythonLayerVersionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,LayerVersionOptions
- All Known Implementing Classes:
PythonLayerVersionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:11.736Z")
@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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forPythonLayerVersionProps
static final class
An implementation forPythonLayerVersionProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default BundlingOptions
(experimental) Bundling options to use for this function.default List<Architecture>
(experimental) The system architectures compatible with this layer.(experimental) The runtimes compatible with the python layer.getEntry()
(experimental) The path to the root directory of the lambda layer.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.lambda.LayerVersionOptions
getDescription, getLayerVersionName, getLicense, getRemovalPolicy
-
Method Details
-
getEntry
(experimental) The path to the root directory of the lambda layer. -
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
(experimental) The system architectures compatible with this layer.Default: [Architecture.X86_64]
-
getCompatibleRuntimes
(experimental) The runtimes compatible with the python layer.Default: - Only Python 3.7 is supported.
-
builder
- Returns:
- a
PythonLayerVersionProps.Builder
ofPythonLayerVersionProps
-