@Generated(value="jsii-pacmak/1.5.0 (build 46538f8)", date="2020-05-21T11:02:02.740Z") @Stability(value=Experimental) public interface ContainerOverrides extends software.amazon.jsii.JsiiSerializable
EXPERIMENTAL
| Modifier and Type | Interface and Description |
|---|---|
static class |
ContainerOverrides.Builder
A builder for
ContainerOverrides |
static class |
ContainerOverrides.Jsii$Proxy
An implementation for
ContainerOverrides |
| Modifier and Type | Method and Description |
|---|---|
static ContainerOverrides.Builder |
builder() |
default List<String> |
getCommand()
The command to send to the container that overrides the default command from the Docker image or the job definition.
|
default Map<String,String> |
getEnvironment()
The environment variables to send to the container.
|
default Number |
getGpuCount()
The number of physical GPUs to reserve for the container.
|
default InstanceType |
getInstanceType()
The instance type to use for a multi-node parallel job.
|
default Number |
getMemory()
The number of MiB of memory reserved for the job.
|
default Number |
getVcpus()
The number of vCPUs to reserve for the container.
|
@Stability(value=Experimental) @Nullable default List<String> getCommand()
Default: - No command overrides
EXPERIMENTAL
@Stability(value=Experimental) @Nullable default Map<String,String> getEnvironment()
You 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
@Stability(value=Experimental) @Nullable default Number getGpuCount()
The 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
@Stability(value=Experimental) @Nullable default InstanceType getInstanceType()
This parameter is not valid for single-node container jobs.
Default: - No instance type overrides
EXPERIMENTAL
@Stability(value=Experimental) @Nullable default Number getMemory()
This value overrides the value set in the job definition.
Default: - No memory overrides
EXPERIMENTAL
@Stability(value=Experimental) @Nullable default Number getVcpus()
This value overrides the value set in the job definition.
Default: - No vCPUs overrides
EXPERIMENTAL
@Stability(value=Experimental) static ContainerOverrides.Builder builder()
ContainerOverrides.Builder of ContainerOverridesCopyright © 2020. All rights reserved.