Interface CfnTaskDefinition.DeviceProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTaskDefinition.DeviceProperty.Jsii$Proxy
- Enclosing class:
- CfnTaskDefinition
@Stability(Stable)
public static interface CfnTaskDefinition.DeviceProperty
extends software.amazon.jsii.JsiiSerializable
The
Device
property specifies an object representing a container instance host device.
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.ecs.*; DeviceProperty deviceProperty = DeviceProperty.builder() .containerPath("containerPath") .hostPath("hostPath") .permissions(List.of("permissions")) .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnTaskDefinition.DeviceProperty
static final class
An implementation forCfnTaskDefinition.DeviceProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getContainerPath
The path inside the container at which to expose the host device. -
getHostPath
The path for the device on the host container instance. -
getPermissions
The explicit permissions to provide to the container for the device.By default, the container has permissions for
read
,write
, andmknod
for the device. -
builder
-