@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:42.666Z") @Stability(value=Experimental) public interface ContainerOverrides extends software.amazon.jsii.JsiiSerializable
| 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()
(experimental) 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()
(experimental) The environment variables to send to the container.
|
default Number |
getGpuCount()
(experimental) The number of physical GPUs to reserve for the container.
|
default InstanceType |
getInstanceType()
(experimental) The instance type to use for a multi-node parallel job.
|
default Number |
getMemory()
(experimental) The number of MiB of memory reserved for the job.
|
default Number |
getVcpus()
(experimental) The number of vCPUs to reserve for the container.
|
@Stability(value=Experimental) @Nullable default List<String> getCommand()
Default: - No command overrides
@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
@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
@Stability(value=Experimental) @Nullable default InstanceType getInstanceType()
This parameter is not valid for single-node container jobs.
Default: - No instance type overrides
@Stability(value=Experimental) @Nullable default Number getMemory()
This value overrides the value set in the job definition.
Default: - No memory overrides
@Stability(value=Experimental) @Nullable default Number getVcpus()
This value overrides the value set in the job definition.
Default: - No vCPUs overrides
@Stability(value=Experimental) static ContainerOverrides.Builder builder()
ContainerOverrides.Builder of ContainerOverridesCopyright © 2021. All rights reserved.