@Stability(value=Experimental) public static final class EcrImageCodeProps.Builder extends Object implements software.amazon.jsii.Builder<EcrImageCodeProps>
EcrImageCodeProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
EcrImageCodeProps |
build()
Builds the configured instance.
|
EcrImageCodeProps.Builder |
cmd(List<String> cmd)
Sets the value of
EcrImageCodeProps.getCmd() |
EcrImageCodeProps.Builder |
entrypoint(List<String> entrypoint)
Sets the value of
EcrImageCodeProps.getEntrypoint() |
EcrImageCodeProps.Builder |
tag(String tag)
Sets the value of
EcrImageCodeProps.getTag() |
@Stability(value=Experimental) public EcrImageCodeProps.Builder cmd(List<String> cmd)
EcrImageCodeProps.getCmd()cmd - Specify or override the CMD on the specified Docker image or Dockerfile.
This needs to be in the 'exec form', viz., [ 'executable', 'param1', 'param2' ].this@Stability(value=Experimental) public EcrImageCodeProps.Builder entrypoint(List<String> entrypoint)
EcrImageCodeProps.getEntrypoint()entrypoint - 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' ].this@Stability(value=Experimental) public EcrImageCodeProps.Builder tag(String tag)
EcrImageCodeProps.getTag()tag - The image tag to use when pulling the image from ECR.this@Stability(value=Experimental) public EcrImageCodeProps build()
build in interface software.amazon.jsii.Builder<EcrImageCodeProps>EcrImageCodePropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.