@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:42.650Z") @Stability(value=Experimental) public interface BatchContainerOverrides extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
BatchContainerOverrides.Builder
A builder for
BatchContainerOverrides |
static class |
BatchContainerOverrides.Jsii$Proxy
An implementation for
BatchContainerOverrides |
| Modifier and Type | Method and Description |
|---|---|
static BatchContainerOverrides.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 Size |
getMemory()
(experimental) 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 Size getMemory()
Default: - No memory overrides. The memory supplied in the job definition will be used.
@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 BatchContainerOverrides.Builder builder()
BatchContainerOverrides.Builder of BatchContainerOverridesCopyright © 2021. All rights reserved.