Interface IEcsEc2ContainerDefinition.Jsii$Default
- All Superinterfaces:
software.constructs.IConstruct,software.constructs.IConstruct.Jsii$Default,software.constructs.IDependable,software.constructs.IDependable.Jsii$Default,IEcsContainerDefinition,IEcsContainerDefinition.Jsii$Default,IEcsEc2ContainerDefinition,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
IEcsEc2ContainerDefinition.Jsii$Proxy
- Enclosing interface:
IEcsEc2ContainerDefinition
@Internal
public static interface IEcsEc2ContainerDefinition.Jsii$Default
extends IEcsEc2ContainerDefinition, IEcsContainerDefinition.Jsii$Default
Internal default implementation for
IEcsEc2ContainerDefinition.-
Nested Class Summary
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IDependable
software.constructs.IDependable.Jsii$Default, software.constructs.IDependable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.batch.IEcsContainerDefinition
IEcsContainerDefinition.Jsii$Default, IEcsContainerDefinition.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.batch.IEcsEc2ContainerDefinition
IEcsEc2ContainerDefinition.Jsii$Default, IEcsEc2ContainerDefinition.Jsii$Proxy -
Method Summary
Modifier and TypeMethodDescriptiondefault voidAdd a ulimit to this container.default NumbergetGpu()The number of physical GPUs to reserve for the container.default BooleanWhen this parameter is true, the container is given elevated permissions on the host container instance (similar to the root user).Limits to set for the user this docker container will run as.Methods inherited from interface software.constructs.IConstruct.Jsii$Default
getNodeMethods inherited from interface software.amazon.awscdk.services.batch.IEcsContainerDefinition.Jsii$Default
addVolume, getCommand, getCpu, getEnableExecuteCommand, getEnvironment, getExecutionRole, getImage, getJobRole, getLinuxParameters, getLogDriverConfig, getMemory, getReadonlyRootFilesystem, getSecrets, getUser, getVolumesMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getUlimits
Limits to set for the user this docker container will run as.- Specified by:
getUlimitsin interfaceIEcsEc2ContainerDefinition
-
getGpu
The number of physical GPUs to reserve for the container.Make sure that the number of GPUs reserved for all containers in a job doesn't exceed the number of available GPUs on the compute resource that the job is launched on.
Default: - no gpus
- Specified by:
getGpuin interfaceIEcsEc2ContainerDefinition
-
getPrivileged
When this parameter is true, the container is given elevated permissions on the host container instance (similar to the root user).Default: false
- Specified by:
getPrivilegedin interfaceIEcsEc2ContainerDefinition
-
addUlimit
Add a ulimit to this container.- Specified by:
addUlimitin interfaceIEcsEc2ContainerDefinition- Parameters:
ulimit- This parameter is required.
-