Class PythonLayerVersion

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.lambda.LayerVersion
software.amazon.awscdk.services.lambda.python.alpha.PythonLayerVersion
All Implemented Interfaces:
IResource, ILayerVersion, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.109.0 (build c221850)", date="2025-03-14T03:25:08.047Z") @Stability(Experimental) public class PythonLayerVersion extends LayerVersion
(experimental) A lambda layer version.

Example:

 PythonLayerVersion.Builder.create(this, "MyLayer")
         .entry("/path/to/my/layer")
         .build();
 
  • Constructor Details

    • PythonLayerVersion

      protected PythonLayerVersion(software.amazon.jsii.JsiiObjectRef objRef)
    • PythonLayerVersion

      protected PythonLayerVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • PythonLayerVersion

      @Stability(Experimental) public PythonLayerVersion(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull PythonLayerVersionProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.