@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-26T12:56:28.236Z") @Stability(value=Experimental) public interface PythonLayerVersionProps extends software.amazon.jsii.JsiiSerializable, LayerVersionOptions
Example:
PythonFunction.Builder.create(this, "MyFunction")
.entry("/path/to/my/function")
.layers(List.of(
PythonLayerVersion.Builder.create(this, "MyLayer")
.entry("/path/to/my/layer")
.build()))
.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 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 List<Architecture> getCompatibleArchitectures()
Default: [Architecture.X86_64]
@Stability(value=Experimental) @Nullable default List<Runtime> getCompatibleRuntimes()
Default: - All runtimes are supported.
@Stability(value=Experimental) static PythonLayerVersionProps.Builder builder()
builder in interface LayerVersionOptionsPythonLayerVersionProps.Builder of PythonLayerVersionPropsCopyright © 2021. All rights reserved.