@Generated(value="jsii-pacmak/1.60.0 (build ebcefe6)", date="2022-06-22T23:27:56.731Z") @Stability(value=Experimental) public interface PythonLayerVersionProps extends software.amazon.jsii.JsiiSerializable, LayerVersionOptions
Example:
PythonLayerVersion.Builder.create(this, "MyLayer")
.entry("/path/to/my/layer")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
PythonLayerVersionProps.Builder
A builder for
PythonLayerVersionProps |
static class |
PythonLayerVersionProps.Jsii$Proxy
An implementation for
PythonLayerVersionProps |
| Modifier and Type | Method and Description |
|---|---|
static PythonLayerVersionProps.Builder |
builder() |
default BundlingOptions |
getBundling()
(experimental) Bundling options to use for this function.
|
default List<Architecture> |
getCompatibleArchitectures()
(experimental) The system architectures compatible with this layer.
|
default List<Runtime> |
getCompatibleRuntimes()
(experimental) The runtimes compatible with the python layer.
|
String |
getEntry()
(experimental) The path to the root directory of the lambda layer.
|
getDescription, getLayerVersionName, getLicense, getRemovalPolicy@Stability(value=Experimental) @NotNull String getEntry()
@Stability(value=Experimental) @Nullable default BundlingOptions getBundling()
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.
@Stability(value=Experimental) @Nullable default List<Architecture> getCompatibleArchitectures()
Default: [Architecture.X86_64]
@Stability(value=Experimental) @Nullable default List<Runtime> getCompatibleRuntimes()
Default: - Only Python 3.7 is supported.
@Stability(value=Experimental) static PythonLayerVersionProps.Builder builder()
builder in interface LayerVersionOptionsPythonLayerVersionProps.Builder of PythonLayerVersionPropsCopyright © 2022. All rights reserved.