@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.429Z") @Stability(value=Stable) public interface CodeImageConfig extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lambda.*;
CodeImageConfig codeImageConfig = CodeImageConfig.builder()
.imageUri("imageUri")
// the properties below are optional
.cmd(List.of("cmd"))
.entrypoint(List.of("entrypoint"))
.workingDirectory("workingDirectory")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CodeImageConfig.Builder
A builder for
CodeImageConfig |
static class |
CodeImageConfig.Jsii$Proxy
An implementation for
CodeImageConfig |
| Modifier and Type | Method and Description |
|---|---|
static CodeImageConfig.Builder |
builder() |
default List<String> |
getCmd()
Specify or override the CMD on the specified Docker image or Dockerfile.
|
default List<String> |
getEntrypoint()
Specify or override the ENTRYPOINT on the specified Docker image or Dockerfile.
|
String |
getImageUri()
URI to the Docker image.
|
default String |
getWorkingDirectory()
Specify or override the WORKDIR on the specified Docker image or Dockerfile.
|
@Stability(value=Stable) @NotNull String getImageUri()
@Stability(value=Stable) @Nullable default List<String> getCmd()
This needs to be in the 'exec form', viz., [ 'executable', 'param1', 'param2' ].
Default: - use the CMD specified in the docker image or Dockerfile.
@Stability(value=Stable) @Nullable default List<String> getEntrypoint()
An ENTRYPOINT allows you to configure a container that will run as an executable.
This needs to be in the 'exec form', viz., [ 'executable', 'param1', 'param2' ].
Default: - use the ENTRYPOINT in the docker image or Dockerfile.
@Stability(value=Stable) @Nullable default String getWorkingDirectory()
A WORKDIR allows you to configure the working directory the container will use.
Default: - use the WORKDIR in the docker image or Dockerfile.
@Stability(value=Stable) static CodeImageConfig.Builder builder()
CodeImageConfig.Builder of CodeImageConfigCopyright © 2022. All rights reserved.