| Package | Description |
|---|---|
| software.amazon.awscdk.services.lambda |
AWS Lambda Construct Library
|
| Modifier and Type | Method and Description |
|---|---|
static DockerImageCode |
DockerImageCode.fromEcr(IRepository repository)
(experimental) Use an existing ECR image as the Lambda code.
|
static DockerImageCode |
DockerImageCode.fromEcr(IRepository repository,
EcrImageCodeProps props)
(experimental) Use an existing ECR image as the Lambda code.
|
static DockerImageCode |
DockerImageCode.fromImageAsset(String directory)
(experimental) Create an ECR image from the specified asset and bind it as the Lambda code.
|
static DockerImageCode |
DockerImageCode.fromImageAsset(String directory,
AssetImageCodeProps props)
(experimental) Create an ECR image from the specified asset and bind it as the Lambda code.
|
DockerImageCode |
DockerImageFunctionProps.getCode()
(experimental) The source code of your Lambda function.
|
DockerImageCode |
DockerImageFunctionProps.Jsii$Proxy.getCode() |
| Modifier and Type | Method and Description |
|---|---|
DockerImageFunction.Builder |
DockerImageFunction.Builder.code(DockerImageCode code)
(experimental) The source code of your Lambda function.
|
DockerImageFunctionProps.Builder |
DockerImageFunctionProps.Builder.code(DockerImageCode code)
Sets the value of
DockerImageFunctionProps.getCode() |
| Constructor and Description |
|---|
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,
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. |
Copyright © 2021. All rights reserved.