Class JobDefinitionContainer.Jsii$Proxy
- All Implemented Interfaces:
JobDefinitionContainer
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- JobDefinitionContainer
JobDefinitionContainer
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.batch.JobDefinitionContainer
JobDefinitionContainer.Builder, JobDefinitionContainer.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(JobDefinitionContainer.Builder builder) Constructor that initializes the object based on literal property values passed by theJobDefinitionContainer.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final Boolean
(experimental) Whether or not to assign a public IP to the job.(experimental) The command that is passed to the container.(experimental) The environment variables to pass to the container.final IRole
(experimental) The IAM role that AWS Batch can assume.final Number
(experimental) The number of physical GPUs to reserve for the container.final ContainerImage
getImage()
(experimental) The image used to start a container.final InstanceType
(experimental) The instance type to use for a multi-node parallel job.final IRole
(experimental) The IAM role that the container can assume for AWS permissions.final LinuxParameters
(experimental) Linux-specific modifications that are applied to the container, such as details for device mappings.final LogConfiguration
(experimental) The log configuration specification for the container.final Number
(experimental) The hard limit (in MiB) of memory to present to the container.final List<MountPoint>
(experimental) The mount points for data volumes in your container.final FargatePlatformVersion
(experimental) Fargate platform version.final Boolean
(experimental) When this parameter is true, the container is given elevated privileges on the host container instance (similar to the root user).final Boolean
(experimental) When this parameter is true, the container is given read-only access to its root file system.(experimental) A list of ulimits to set in the container.final String
getUser()
(experimental) The user name to use inside the container.final Number
getVcpus()
(experimental) The number of vCPUs reserved for the container.(experimental) A list of data volumes used in a job.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theJobDefinitionContainer.Builder
.
-
-
Method Details
-
getImage
Description copied from interface:JobDefinitionContainer
(experimental) The image used to start a container.- Specified by:
getImage
in interfaceJobDefinitionContainer
-
getAssignPublicIp
Description copied from interface:JobDefinitionContainer
(experimental) Whether or not to assign a public IP to the job.Default: - false
- Specified by:
getAssignPublicIp
in interfaceJobDefinitionContainer
-
getCommand
Description copied from interface:JobDefinitionContainer
(experimental) The command that is passed to the container.If you provide a shell command as a single string, you have to quote command-line arguments.
Default: - CMD value built into container image.
- Specified by:
getCommand
in interfaceJobDefinitionContainer
-
getEnvironment
Description copied from interface:JobDefinitionContainer
(experimental) The environment variables to pass to the container.Default: none
- Specified by:
getEnvironment
in interfaceJobDefinitionContainer
-
getExecutionRole
Description copied from interface:JobDefinitionContainer
(experimental) The IAM role that AWS Batch can assume.Required when using Fargate.
Default: - None
- Specified by:
getExecutionRole
in interfaceJobDefinitionContainer
-
getGpuCount
Description copied from interface:JobDefinitionContainer
(experimental) The number of physical GPUs to reserve for the container.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.
- Specified by:
getGpuCount
in interfaceJobDefinitionContainer
-
getInstanceType
Description copied from interface:JobDefinitionContainer
(experimental) The instance type to use for a multi-node parallel job.Currently all node groups in a multi-node parallel job must use the same instance type. This parameter is not valid for single-node container jobs.
Default: - None
- Specified by:
getInstanceType
in interfaceJobDefinitionContainer
-
getJobRole
Description copied from interface:JobDefinitionContainer
(experimental) The IAM role that the container can assume for AWS permissions.Default: - An IAM role will created.
- Specified by:
getJobRole
in interfaceJobDefinitionContainer
-
getLinuxParams
Description copied from interface:JobDefinitionContainer
(experimental) Linux-specific modifications that are applied to the container, such as details for device mappings.For now, only the
devices
property is supported.Default: - None will be used.
- Specified by:
getLinuxParams
in interfaceJobDefinitionContainer
-
getLogConfiguration
Description copied from interface:JobDefinitionContainer
(experimental) The log configuration specification for the container.Default: - containers use the same logging driver that the Docker daemon uses
- Specified by:
getLogConfiguration
in interfaceJobDefinitionContainer
-
getMemoryLimitMiB
Description copied from interface:JobDefinitionContainer
(experimental) The hard limit (in MiB) of memory to present to the container.If your container attempts to exceed the memory specified here, the container is killed. You must specify at least 4 MiB of memory for EC2 and 512 MiB for Fargate.
Default: - 4 for EC2, 512 for Fargate
- Specified by:
getMemoryLimitMiB
in interfaceJobDefinitionContainer
-
getMountPoints
Description copied from interface:JobDefinitionContainer
(experimental) The mount points for data volumes in your container.Default: - No mount points will be used.
- Specified by:
getMountPoints
in interfaceJobDefinitionContainer
-
getPlatformVersion
Description copied from interface:JobDefinitionContainer
(experimental) Fargate platform version.Default: - LATEST platform version will be used
- Specified by:
getPlatformVersion
in interfaceJobDefinitionContainer
-
getPrivileged
Description copied from interface:JobDefinitionContainer
(experimental) When this parameter is true, the container is given elevated privileges on the host container instance (similar to the root user).Default: false
- Specified by:
getPrivileged
in interfaceJobDefinitionContainer
-
getReadOnly
Description copied from interface:JobDefinitionContainer
(experimental) When this parameter is true, the container is given read-only access to its root file system.Default: false
- Specified by:
getReadOnly
in interfaceJobDefinitionContainer
-
getUlimits
Description copied from interface:JobDefinitionContainer
(experimental) A list of ulimits to set in the container.Default: - No limits.
- Specified by:
getUlimits
in interfaceJobDefinitionContainer
-
getUser
Description copied from interface:JobDefinitionContainer
(experimental) The user name to use inside the container.Default: - None will be used.
- Specified by:
getUser
in interfaceJobDefinitionContainer
-
getVcpus
Description copied from interface:JobDefinitionContainer
(experimental) The number of vCPUs reserved for the container.Each vCPU is equivalent to 1,024 CPU shares. You must specify at least one vCPU for EC2 and 0.25 for Fargate.
Default: - 1 for EC2, 0.25 for Fargate
- Specified by:
getVcpus
in interfaceJobDefinitionContainer
-
getVolumes
Description copied from interface:JobDefinitionContainer
(experimental) A list of data volumes used in a job.Default: - No data volumes will be used.
- Specified by:
getVolumes
in interfaceJobDefinitionContainer
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-