@Stability(value=Experimental) public static final class PythonLayerVersion.Builder extends Object implements software.amazon.jsii.Builder<PythonLayerVersion>
PythonLayerVersion.| Modifier and Type | Method and Description |
|---|---|
PythonLayerVersion |
build() |
PythonLayerVersion.Builder |
compatibleRuntimes(List<? extends Runtime> compatibleRuntimes)
(experimental) The runtimes compatible with the python layer.
|
static PythonLayerVersion.Builder |
create(Construct scope,
String id) |
PythonLayerVersion.Builder |
description(String description)
The description the this Lambda Layer.
|
PythonLayerVersion.Builder |
entry(String entry)
(experimental) The path to the root directory of the lambda layer.
|
PythonLayerVersion.Builder |
layerVersionName(String layerVersionName)
The name of the layer.
|
PythonLayerVersion.Builder |
license(String license)
The SPDX licence identifier or URL to the license file for this layer.
|
@Stability(value=Experimental) public static PythonLayerVersion.Builder create(Construct scope, String id)
scope - This parameter is required.id - This parameter is required.PythonLayerVersion.Builder.@Stability(value=Stable) public PythonLayerVersion.Builder description(String description)
Default: - No description.
description - The description the this Lambda Layer. This parameter is required.this@Stability(value=Stable) public PythonLayerVersion.Builder layerVersionName(String layerVersionName)
Default: - A name will be generated.
layerVersionName - The name of the layer. This parameter is required.this@Stability(value=Stable) public PythonLayerVersion.Builder license(String license)
Default: - No license information will be recorded.
license - The SPDX licence identifier or URL to the license file for this layer. This parameter is required.this@Stability(value=Experimental) public PythonLayerVersion.Builder entry(String entry)
entry - The path to the root directory of the lambda layer. This parameter is required.this@Stability(value=Experimental) public PythonLayerVersion.Builder compatibleRuntimes(List<? extends Runtime> compatibleRuntimes)
Default: - All runtimes are supported.
compatibleRuntimes - The runtimes compatible with the python layer. This parameter is required.this@Stability(value=Experimental) public PythonLayerVersion build()
build in interface software.amazon.jsii.Builder<PythonLayerVersion>Copyright © 2021. All rights reserved.