Bases: object
Properties to initialize a new EcrImageCode.
cmd (Optional
[Sequence
[str
]]) â Specify or override the CMD on the specified Docker image or Dockerfile. This needs to be in the âexec formâ, viz., [ 'executable', 'param1', 'param2' ]
. Default: - use the CMD specified in the docker image or Dockerfile.
entrypoint (Optional
[Sequence
[str
]]) â Specify or override the ENTRYPOINT on the specified Docker image or Dockerfile. 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.
tag (Optional
[str
]) â (deprecated) The image tag to use when pulling the image from ECR. Default: âlatestâ
tag_or_digest (Optional
[str
]) â The image tag or digest to use when pulling the image from ECR (digests must start with sha256:
). Default: âlatestâ
working_directory (Optional
[str
]) â Specify or override the WORKDIR on the specified Docker image or Dockerfile. A WORKDIR allows you to configure the working directory the container will use. Default: - use the WORKDIR in the docker image or Dockerfile.
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lambda as lambda_ ecr_image_code_props = lambda.EcrImageCodeProps( cmd=["cmd"], entrypoint=["entrypoint"], tag="tag", tag_or_digest="tagOrDigest", working_directory="workingDirectory" )
Attributes
Specify or override the CMD on the specified Docker image or Dockerfile.
This needs to be in the âexec formâ, viz., [ 'executable', 'param1', 'param2' ]
.
use the CMD specified in the docker image or Dockerfile.
Specify or override the ENTRYPOINT on the specified Docker image or Dockerfile.
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' ]
.
use the ENTRYPOINT in the docker image or Dockerfile.
https://docs.docker.com/engine/reference/builder/#entrypoint
(deprecated) The image tag to use when pulling the image from ECR.
âlatestâ
use tagOrDigest
deprecated
The image tag or digest to use when pulling the image from ECR (digests must start with sha256:
).
âlatestâ
Specify or override the WORKDIR on the specified Docker image or Dockerfile.
A WORKDIR allows you to configure the working directory the container will use.
use the WORKDIR in the docker image or Dockerfile.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4