Interface IPythonLayerVersionProps
(experimental) Properties for PythonLayerVersion.
Inherited Members
Namespace: Amazon.CDK.AWS.Lambda.Python
Assembly: Amazon.CDK.AWS.Lambda.Python.dll
Syntax (csharp)
public interface IPythonLayerVersionProps : ILayerVersionOptions
Syntax (vb)
Public Interface IPythonLayerVersionProps
Inherits ILayerVersionOptions
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
new PythonLayerVersion(this, "MyLayer", new PythonLayerVersionProps {
Entry = "/path/to/my/layer"
});
Synopsis
Properties
Bundling | (experimental) Bundling options to use for this function. |
CompatibleArchitectures | (experimental) The system architectures compatible with this layer. |
CompatibleRuntimes | (experimental) The runtimes compatible with the python layer. |
Entry | (experimental) The path to the root directory of the lambda layer. |
Properties
Bundling
(experimental) Bundling options to use for this function.
virtual IBundlingOptions Bundling { get; }
Property Value
Remarks
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: Experimental
CompatibleArchitectures
(experimental) The system architectures compatible with this layer.
virtual Architecture[] CompatibleArchitectures { get; }
Property Value
Remarks
Default: [Architecture.X86_64]
Stability: Experimental
CompatibleRuntimes
(experimental) The runtimes compatible with the python layer.
virtual Runtime[] CompatibleRuntimes { get; }
Property Value
Runtime[]
Remarks
Default: - Only Python 3.7 is supported.
Stability: Experimental
Entry
(experimental) The path to the root directory of the lambda layer.
string Entry { get; }
Property Value
System.String
Remarks
Stability: Experimental