@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
date="2023-03-22T19:35:44.145Z")
public interface EcrImageCodeProps
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.*; EcrImageCodeProps ecrImageCodeProps = EcrImageCodeProps.builder() .cmd(List.of("cmd")) .entrypoint(List.of("entrypoint")) .tag("tag") .tagOrDigest("tagOrDigest") .workingDirectory("workingDirectory") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
EcrImageCodeProps.Builder
A builder for
EcrImageCodeProps |
static class |
EcrImageCodeProps.Jsii$Proxy
An implementation for
EcrImageCodeProps |
Modifier and Type | Method and Description |
---|---|
static EcrImageCodeProps.Builder |
builder() |
default java.util.List<java.lang.String> |
getCmd()
Specify or override the CMD on the specified Docker image or Dockerfile.
|
default java.util.List<java.lang.String> |
getEntrypoint()
Specify or override the ENTRYPOINT on the specified Docker image or Dockerfile.
|
default java.lang.String |
getTag()
Deprecated.
use `tagOrDigest`
|
default java.lang.String |
getTagOrDigest()
The image tag or digest to use when pulling the image from ECR (digests must start with `sha256:`).
|
default java.lang.String |
getWorkingDirectory()
Specify or override the WORKDIR on the specified Docker image or Dockerfile.
|
default java.util.List<java.lang.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.
default java.util.List<java.lang.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.
@Deprecated default java.lang.String getTag()
Default: 'latest'
default java.lang.String getTagOrDigest()
Default: 'latest'
default java.lang.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.
static EcrImageCodeProps.Builder builder()
EcrImageCodeProps.Builder
of EcrImageCodeProps