| Modifier and Type | Method and Description |
|---|---|
static DockerImageCode |
DockerImageCode.fromEcr(IRepository repository)
Use an existing ECR image as the Lambda code.
|
static DockerImageCode |
DockerImageCode.fromEcr(IRepository repository,
EcrImageCodeProps props)
Use an existing ECR image as the Lambda code.
|
static DockerImageCode |
DockerImageCode.fromImageAsset(String directory)
Create an ECR image from the specified asset and bind it as the Lambda code.
|
static DockerImageCode |
DockerImageCode.fromImageAsset(String directory,
AssetImageCodeProps props)
Create an ECR image from the specified asset and bind it as the Lambda code.
|
DockerImageCode |
DockerImageFunctionProps.getCode()
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)
The source code of your Lambda function.
|
DockerImageFunctionProps.Builder |
DockerImageFunctionProps.Builder.code(DockerImageCode code)
Sets the value of
DockerImageFunctionProps.getCode() |
Copyright © 2023. All rights reserved.