Interface CfnJobDefinition.DeviceProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnJobDefinition.DeviceProperty.Jsii$Proxy
- Enclosing class:
CfnJobDefinition
@Stability(Stable)
public static interface CfnJobDefinition.DeviceProperty
extends software.amazon.jsii.JsiiSerializable
An object that represents a container instance host device.
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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnJobDefinition.DevicePropertystatic final classAn implementation forCfnJobDefinition.DeviceProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getContainerPath
The path inside the container that's used to expose the host device.By default, the
hostPathvalue is used.- See Also:
-
getHostPath
The path for the device on the host container instance.- See Also:
-
getPermissions
The explicit permissions to provide to the container for the device.By default, the container has permissions for
read,write, andmknodfor the device.- See Also:
-
builder
-