@Stability(value=Experimental) public static final class ContainerOverrides.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ContainerOverrides
ContainerOverridessoftware.amazon.jsii.JsiiObject.InitializationModeContainerOverrides.Builder, ContainerOverrides.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> |
getCommand()
The command to send to the container that overrides the default command from the Docker image or the job definition.
|
Map<String,String> |
getEnvironment()
The environment variables to send to the container.
|
Number |
getGpuCount()
The number of physical GPUs to reserve for the container.
|
InstanceType |
getInstanceType()
The instance type to use for a multi-node parallel job.
|
Number |
getMemory()
The number of MiB of memory reserved for the job.
|
Number |
getVcpus()
The number of vCPUs to reserve for the container.
|
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 List<String> getCommand()
ContainerOverridesDefault: - No command overrides
EXPERIMENTAL
getCommand in interface ContainerOverridespublic Map<String,String> getEnvironment()
ContainerOverridesYou can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the job definition.
Default: - No environment overrides
EXPERIMENTAL
getEnvironment in interface ContainerOverridespublic Number getGpuCount()
ContainerOverridesThe number of GPUs reserved for all containers in a job should not exceed the number of available GPUs on the compute resource that the job is launched on.
Default: - No GPU reservation
EXPERIMENTAL
getGpuCount in interface ContainerOverridespublic InstanceType getInstanceType()
ContainerOverridesThis parameter is not valid for single-node container jobs.
Default: - No instance type overrides
EXPERIMENTAL
getInstanceType in interface ContainerOverridespublic Number getMemory()
ContainerOverridesThis value overrides the value set in the job definition.
Default: - No memory overrides
EXPERIMENTAL
getMemory in interface ContainerOverridespublic Number getVcpus()
ContainerOverridesThis value overrides the value set in the job definition.
Default: - No vCPUs overrides
EXPERIMENTAL
getVcpus in interface ContainerOverridespublic com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2020. All rights reserved.