public static interface CfnTaskDefinition.DeviceProperty
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();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnTaskDefinition.DeviceProperty.Builder
A builder for
CfnTaskDefinition.DeviceProperty |
static class |
CfnTaskDefinition.DeviceProperty.Jsii$Proxy
An implementation for
CfnTaskDefinition.DeviceProperty |
Modifier and Type | Method and Description |
---|---|
static CfnTaskDefinition.DeviceProperty.Builder |
builder() |
default java.lang.String |
getContainerPath()
The path inside the container at which 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()
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 CfnTaskDefinition.DeviceProperty.Builder builder()