@Stability(value=Experimental) public static final class ContainerProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ContainerProps
ContainerPropssoftware.amazon.jsii.JsiiObject.InitializationModeContainerProps.Builder, ContainerProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
List<String> |
getArgs()
(experimental) Arguments to the entrypoint.
|
List<String> |
getCommand()
(experimental) Entrypoint array.
|
Map<String,EnvValue> |
getEnv()
(experimental) List of environment variables to set in the container.
|
String |
getImage()
(experimental) Docker image name.
|
ImagePullPolicy |
getImagePullPolicy()
(experimental) Image pull policy for this container.
|
String |
getName()
(experimental) Name of the container specified as a DNS_LABEL.
|
Number |
getPort()
(experimental) Number of port to expose on the pod's IP address.
|
Probe |
getReadiness()
(experimental) Determines when the container is ready to serve traffic.
|
List<VolumeMount> |
getVolumeMounts()
(experimental) Pod volumes to mount into the container's filesystem.
|
String |
getWorkingDir()
(experimental) Container's working directory.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.public String getImage()
ContainerPropsgetImage in interface ContainerPropspublic List<String> getArgs()
ContainerPropsVariable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not.
Cannot be updated.
Default: []
getArgs in interface ContainerPropshttps://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shellpublic List<String> getCommand()
ContainerPropsNot executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
Default: - The docker image's ENTRYPOINT.
getCommand in interface ContainerPropspublic Map<String,EnvValue> getEnv()
ContainerPropsCannot be updated.
Default: - No environment variables.
getEnv in interface ContainerPropspublic ImagePullPolicy getImagePullPolicy()
ContainerPropsDefault: ImagePullPolicy.ALWAYS
getImagePullPolicy in interface ContainerPropspublic String getName()
ContainerPropsEach container in a pod must have a unique name (DNS_LABEL). Cannot be updated.
Default: 'main'
getName in interface ContainerPropspublic Number getPort()
ContainerPropsThis must be a valid port number, 0 < x < 65536.
Default: - No port is exposed.
getPort in interface ContainerPropspublic Probe getReadiness()
ContainerPropsDefault: - no readiness probe is defined
getReadiness in interface ContainerPropspublic List<VolumeMount> getVolumeMounts()
ContainerPropsCannot be updated.
getVolumeMounts in interface ContainerPropspublic String getWorkingDir()
ContainerPropsIf not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.
Default: - The container runtime's default.
getWorkingDir in interface ContainerPropspublic com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2020. All rights reserved.