Interface CfnTaskDefinition.DeviceProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnTaskDefinition.DeviceProperty extends
The Device property specifies an object representing a container instance host device.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 DeviceProperty deviceProperty = DeviceProperty.builder()
  • Method Details

    • getContainerPath

      @Stability(Stable) @Nullable default String getContainerPath()
      The path inside the container at which to expose the host device.
    • getHostPath

      @Stability(Stable) @Nullable default String getHostPath()
      The path for the device on the host container instance.
    • getPermissions

      @Stability(Stable) @Nullable default List<String> getPermissions()
      The explicit permissions to provide to the container for the device.

      By default, the container has permissions for read , write , and mknod for the device.

    • builder

      @Stability(Stable) static CfnTaskDefinition.DeviceProperty.Builder builder()
      a CfnTaskDefinition.DeviceProperty.Builder of CfnTaskDefinition.DeviceProperty