public static interface CfnJobDefinition.DeviceProperty
This object isn't applicable to jobs that are running on Fargate resources and shouldn't be provided.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.batch.*; DeviceProperty deviceProperty = DeviceProperty.builder() .containerPath("containerPath") .hostPath("hostPath") .permissions(List.of("permissions")) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnJobDefinition.DeviceProperty.Builder
A builder for
CfnJobDefinition.DeviceProperty |
static class |
CfnJobDefinition.DeviceProperty.Jsii$Proxy
An implementation for
CfnJobDefinition.DeviceProperty |
Modifier and Type | Method and Description |
---|---|
static CfnJobDefinition.DeviceProperty.Builder |
builder() |
default java.lang.String |
getContainerPath()
The path inside the container that's used to expose the host device.
|
default java.lang.String |
getHostPath()
The path for the device on the host container instance.
|
default java.util.List<java.lang.String> |
getPermissions()
The explicit permissions to provide to the container for the device.
|
default java.lang.String getContainerPath()
By default, the hostPath
value is used.
default java.lang.String getHostPath()
default java.util.List<java.lang.String> getPermissions()
By default, the container has permissions for read
, write
, and mknod
for the device.
static CfnJobDefinition.DeviceProperty.Builder builder()