Class PythonLayerVersion

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

@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-05-31T18:44:12.804Z") @Stability(Experimental) public class PythonLayerVersion extends software.amazon.awscdk.services.lambda.LayerVersion
(experimental) A lambda layer version.

Example:

 PythonLayerVersion.Builder.create(this, "MyLayer")
         .entry("/path/to/my/layer")
         .build();
 
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    (experimental) A fluent builder for PythonLayerVersion.

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct

    software.amazon.awscdk.core.IConstruct.Jsii$Default

    Nested classes/interfaces inherited from interface software.constructs.IConstruct

    software.constructs.IConstruct.Jsii$Default

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.lambda.ILayerVersion

    software.amazon.awscdk.services.lambda.ILayerVersion.Jsii$Default, software.amazon.awscdk.services.lambda.ILayerVersion.Jsii$Proxy

    Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IResource

    software.amazon.awscdk.core.IResource.Jsii$Default
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
     
    PythonLayerVersion(software.amazon.awscdk.core.Construct scope, String id, PythonLayerVersionProps props)
     
    protected
    PythonLayerVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    PythonLayerVersion(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Methods inherited from class software.amazon.awscdk.services.lambda.LayerVersion

    addPermission, fromLayerVersionArn, fromLayerVersionAttributes, getCompatibleRuntimes, getLayerVersionArn

    Methods inherited from class software.amazon.awscdk.core.Resource

    applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResource

    Methods inherited from class software.amazon.awscdk.core.Construct

    getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate

    Methods inherited from class software.constructs.Construct

    toString

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface software.amazon.awscdk.core.IConstruct

    getNode

    Methods inherited from interface software.amazon.awscdk.core.IResource

    applyRemovalPolicy, getEnv, getStack

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • 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.amazon.awscdk.core.Construct scope, @NotNull String id, @NotNull PythonLayerVersionProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.