| Modifier and Type | Interface and Description |
|---|---|
static interface |
ILayerVersion.Jsii$Default
Internal default implementation for
ILayerVersion. |
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
static ILayerVersion |
LayerVersion.fromLayerVersionArn(software.constructs.Construct scope,
String id,
String layerVersionArn)
Imports a layer version by ARN.
|
static ILayerVersion |
LayerVersion.fromLayerVersionAttributes(software.constructs.Construct scope,
String id,
LayerVersionAttributes attrs)
Imports a Layer that has been defined externally.
|
| Modifier and Type | Method and Description |
|---|---|
default List<ILayerVersion> |
FunctionOptions.getLayers()
A list of layers to add to the function's execution environment.
|
List<ILayerVersion> |
FunctionOptions.Jsii$Proxy.getLayers() |
List<ILayerVersion> |
FunctionProps.Jsii$Proxy.getLayers() |
List<ILayerVersion> |
DockerImageFunctionProps.Jsii$Proxy.getLayers() |
List<ILayerVersion> |
SingletonFunctionProps.Jsii$Proxy.getLayers() |
| Modifier and Type | Method and Description |
|---|---|
void |
Function.addLayers(ILayerVersion... layers)
Adds one or more Lambda Layers to this Lambda function.
|
void |
SingletonFunction.addLayers(ILayerVersion... layers)
Adds one or more Lambda Layers to this Lambda function.
|
| Modifier and Type | Method and Description |
|---|---|
FunctionOptions.Builder |
FunctionOptions.Builder.layers(List<? extends ILayerVersion> layers)
Sets the value of
FunctionOptions.getLayers() |
Function.Builder |
Function.Builder.layers(List<? extends ILayerVersion> layers)
A list of layers to add to the function's execution environment.
|
SingletonFunction.Builder |
SingletonFunction.Builder.layers(List<? extends ILayerVersion> layers)
A list of layers to add to the function's execution environment.
|
FunctionProps.Builder |
FunctionProps.Builder.layers(List<? extends ILayerVersion> layers)
Sets the value of
FunctionOptions.getLayers() |
DockerImageFunction.Builder |
DockerImageFunction.Builder.layers(List<? extends ILayerVersion> layers)
A list of layers to add to the function's execution environment.
|
DockerImageFunctionProps.Builder |
DockerImageFunctionProps.Builder.layers(List<? extends ILayerVersion> layers)
Sets the value of
FunctionOptions.getLayers() |
SingletonFunctionProps.Builder |
SingletonFunctionProps.Builder.layers(List<? extends ILayerVersion> layers)
Sets the value of
FunctionOptions.getLayers() |
Copyright © 2023. All rights reserved.