@Stability(value=Experimental) public static final class PythonLayerVersionProps.Builder extends Object implements software.amazon.jsii.Builder<PythonLayerVersionProps>
PythonLayerVersionProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public PythonLayerVersionProps.Builder entry(String entry)
PythonLayerVersionProps.getEntry()entry - The path to the root directory of the lambda layer. This parameter is required.this@Stability(value=Experimental) public PythonLayerVersionProps.Builder bundling(BundlingOptions bundling)
PythonLayerVersionProps.getBundling()bundling - 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.this@Stability(value=Experimental) public PythonLayerVersionProps.Builder compatibleArchitectures(List<? extends Architecture> compatibleArchitectures)
PythonLayerVersionProps.getCompatibleArchitectures()compatibleArchitectures - The system architectures compatible with this layer.this@Stability(value=Experimental) public PythonLayerVersionProps.Builder compatibleRuntimes(List<? extends Runtime> compatibleRuntimes)
PythonLayerVersionProps.getCompatibleRuntimes()compatibleRuntimes - The runtimes compatible with the python layer.this@Stability(value=Stable) public PythonLayerVersionProps.Builder description(String description)
LayerVersionOptions.getDescription()description - The description the this Lambda Layer.this@Stability(value=Stable) public PythonLayerVersionProps.Builder layerVersionName(String layerVersionName)
LayerVersionOptions.getLayerVersionName()layerVersionName - The name of the layer.this@Stability(value=Stable) public PythonLayerVersionProps.Builder license(String license)
LayerVersionOptions.getLicense()license - The SPDX licence identifier or URL to the license file for this layer.this@Stability(value=Stable) public PythonLayerVersionProps.Builder removalPolicy(RemovalPolicy removalPolicy)
LayerVersionOptions.getRemovalPolicy()removalPolicy - Whether to retain this version of the layer when a new version is added or when the stack is deleted.this@Stability(value=Experimental) public PythonLayerVersionProps build()
build in interface software.amazon.jsii.Builder<PythonLayerVersionProps>PythonLayerVersionPropsNullPointerException - if any required attribute was not providedCopyright © 2023. All rights reserved.