Class PythonLayerVersion
(experimental) A lambda layer version.
Inherited Members
Namespace: Amazon.CDK.AWS.Lambda.Python
Assembly: Amazon.CDK.AWS.Lambda.Python.dll
Syntax (csharp)
public class PythonLayerVersion : LayerVersion, ILayerVersion, IResource, IConstruct, IDependable
Syntax (vb)
Public Class PythonLayerVersion
Inherits LayerVersion
Implements ILayerVersion, IResource, IConstruct, IDependable
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
new PythonLayerVersion(this, "MyLayer", new PythonLayerVersionProps {
Entry = "/path/to/my/layer"
});
Synopsis
Constructors
PythonLayerVersion(Construct, String, IPythonLayerVersionProps) | |
PythonLayerVersion(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
PythonLayerVersion(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Constructors
PythonLayerVersion(Construct, String, IPythonLayerVersionProps)
public PythonLayerVersion(Construct scope, string id, IPythonLayerVersionProps props)
Parameters
- scope Construct
- id System.String
- props IPythonLayerVersionProps
Remarks
Stability: Experimental
PythonLayerVersion(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected PythonLayerVersion(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
PythonLayerVersion(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected PythonLayerVersion(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Implements
Constructs.IConstruct