| 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> |
DockerImageFunctionProps.Jsii$Proxy.getLayers() |
List<ILayerVersion> |
SingletonFunctionProps.Jsii$Proxy.getLayers() |
List<ILayerVersion> |
FunctionProps.Jsii$Proxy.getLayers() |
| Modifier and Type | Method and Description |
|---|---|
void |
Function.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() |
DockerImageFunctionProps.Builder |
DockerImageFunctionProps.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.
|
SingletonFunctionProps.Builder |
SingletonFunctionProps.Builder.layers(List<? extends ILayerVersion> layers)
Sets the value of
FunctionOptions.getLayers() |
SingletonFunction.Builder |
SingletonFunction.Builder.layers(List<? extends ILayerVersion> layers)
A list of layers to add to the function's execution environment.
|
DockerImageFunction.Builder |
DockerImageFunction.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() |
| Constructor and Description |
|---|
Jsii$Proxy(Boolean allowAllOutbound,
Boolean allowPublicSubnet,
ICodeSigningConfig codeSigningConfig,
VersionOptions currentVersionOptions,
IQueue deadLetterQueue,
Boolean deadLetterQueueEnabled,
String description,
Map<String,String> environment,
IKey environmentEncryption,
List<? extends IEventSource> events,
FileSystem filesystem,
String functionName,
List<? extends PolicyStatement> initialPolicy,
List<? extends ILayerVersion> layers,
RetentionDays logRetention,
LogRetentionRetryOptions logRetentionRetryOptions,
IRole logRetentionRole,
Number memorySize,
Boolean profiling,
IProfilingGroup profilingGroup,
Number reservedConcurrentExecutions,
IRole role,
ISecurityGroup securityGroup,
List<? extends ISecurityGroup> securityGroups,
Duration timeout,
Tracing tracing,
IVpc vpc,
SubnetSelection vpcSubnets,
Duration maxEventAge,
IDestination onFailure,
IDestination onSuccess,
Number retryAttempts)
Constructor that initializes the object based on literal property values passed by the
FunctionOptions.Builder. |
Jsii$Proxy(Code code,
String handler,
Runtime runtime,
Boolean allowAllOutbound,
Boolean allowPublicSubnet,
ICodeSigningConfig codeSigningConfig,
VersionOptions currentVersionOptions,
IQueue deadLetterQueue,
Boolean deadLetterQueueEnabled,
String description,
Map<String,String> environment,
IKey environmentEncryption,
List<? extends IEventSource> events,
FileSystem filesystem,
String functionName,
List<? extends PolicyStatement> initialPolicy,
List<? extends ILayerVersion> layers,
RetentionDays logRetention,
LogRetentionRetryOptions logRetentionRetryOptions,
IRole logRetentionRole,
Number memorySize,
Boolean profiling,
IProfilingGroup profilingGroup,
Number reservedConcurrentExecutions,
IRole role,
ISecurityGroup securityGroup,
List<? extends ISecurityGroup> securityGroups,
Duration timeout,
Tracing tracing,
IVpc vpc,
SubnetSelection vpcSubnets,
Duration maxEventAge,
IDestination onFailure,
IDestination onSuccess,
Number retryAttempts)
Constructor that initializes the object based on literal property values passed by the
FunctionProps.Builder. |
Jsii$Proxy(DockerImageCode code,
Boolean allowAllOutbound,
Boolean allowPublicSubnet,
ICodeSigningConfig codeSigningConfig,
VersionOptions currentVersionOptions,
IQueue deadLetterQueue,
Boolean deadLetterQueueEnabled,
String description,
Map<String,String> environment,
IKey environmentEncryption,
List<? extends IEventSource> events,
FileSystem filesystem,
String functionName,
List<? extends PolicyStatement> initialPolicy,
List<? extends ILayerVersion> layers,
RetentionDays logRetention,
LogRetentionRetryOptions logRetentionRetryOptions,
IRole logRetentionRole,
Number memorySize,
Boolean profiling,
IProfilingGroup profilingGroup,
Number reservedConcurrentExecutions,
IRole role,
ISecurityGroup securityGroup,
List<? extends ISecurityGroup> securityGroups,
Duration timeout,
Tracing tracing,
IVpc vpc,
SubnetSelection vpcSubnets,
Duration maxEventAge,
IDestination onFailure,
IDestination onSuccess,
Number retryAttempts)
Constructor that initializes the object based on literal property values passed by the
DockerImageFunctionProps.Builder. |
Jsii$Proxy(String uuid,
String lambdaPurpose,
Code code,
String handler,
Runtime runtime,
Boolean allowAllOutbound,
Boolean allowPublicSubnet,
ICodeSigningConfig codeSigningConfig,
VersionOptions currentVersionOptions,
IQueue deadLetterQueue,
Boolean deadLetterQueueEnabled,
String description,
Map<String,String> environment,
IKey environmentEncryption,
List<? extends IEventSource> events,
FileSystem filesystem,
String functionName,
List<? extends PolicyStatement> initialPolicy,
List<? extends ILayerVersion> layers,
RetentionDays logRetention,
LogRetentionRetryOptions logRetentionRetryOptions,
IRole logRetentionRole,
Number memorySize,
Boolean profiling,
IProfilingGroup profilingGroup,
Number reservedConcurrentExecutions,
IRole role,
ISecurityGroup securityGroup,
List<? extends ISecurityGroup> securityGroups,
Duration timeout,
Tracing tracing,
IVpc vpc,
SubnetSelection vpcSubnets,
Duration maxEventAge,
IDestination onFailure,
IDestination onSuccess,
Number retryAttempts)
Constructor that initializes the object based on literal property values passed by the
SingletonFunctionProps.Builder. |
Copyright © 2021. All rights reserved.