| Modifier and Type | Class and Description |
|---|---|
static class |
ILayerVersion.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
class |
LayerVersion
Defines a new Lambda Layer version.
|
class |
SingletonLayerVersion
A Singleton Lambda Layer Version.
|
| Modifier and Type | Method and Description |
|---|---|
static ILayerVersion |
LayerVersion.fromLayerVersionArn(software.amazon.awscdk.Construct scope,
String id,
String layerVersionArn)
Imports a layer version by ARN.
|
static ILayerVersion |
LayerVersion.fromLayerVersionAttributes(software.amazon.awscdk.Construct scope,
String id,
LayerVersionAttributes attrs)
Imports a Layer that has been defined externally.
|
ILayerVersion |
LayerVersion.grantUsage(String id,
LayerVersionUsageGrantee grantee)
Grants usage of this layer to specific entities.
|
ILayerVersion |
ILayerVersion.grantUsage(String id,
LayerVersionUsageGrantee grantee)
Grants usage of this layer to specific entities.
|
ILayerVersion |
ILayerVersion.Jsii$Proxy.grantUsage(String id,
LayerVersionUsageGrantee grantee)
Grants usage of this layer to specific entities.
|
ILayerVersion |
SingletonLayerVersion.grantUsage(String id,
LayerVersionUsageGrantee grantee)
Grants usage of this layer to specific entities.
|
| Modifier and Type | Method and Description |
|---|---|
List<ILayerVersion> |
FunctionProps.getLayers()
A list of layers to add to the function's execution environment.
|
List<ILayerVersion> |
FunctionProps.Jsii$Proxy.getLayers()
A list of layers to add to the function's execution environment.
|
List<ILayerVersion> |
SingletonFunctionProps.Jsii$Proxy.getLayers()
A list of layers to add to the function's execution environment.
|
| Modifier and Type | Method and Description |
|---|---|
Function |
Function.addLayer(ILayerVersion layer)
Adds a Lambda Layer to this Lambda function.
|
| Modifier and Type | Method and Description |
|---|---|
FunctionProps.Builder |
FunctionProps.Builder.withLayers(List<ILayerVersion> value)
Sets the value of Layers
|
SingletonFunctionProps.Builder |
SingletonFunctionProps.Builder.withLayers(List<ILayerVersion> value)
Sets the value of Layers
|
Copyright © 2019. All rights reserved.