public static interface CfnTaskDefinition.MountPointProperty
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.*; MountPointProperty mountPointProperty = MountPointProperty.builder() .containerPath("containerPath") .readOnly(false) .sourceVolume("sourceVolume") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnTaskDefinition.MountPointProperty.Builder
A builder for
CfnTaskDefinition.MountPointProperty |
static class |
CfnTaskDefinition.MountPointProperty.Jsii$Proxy
An implementation for
CfnTaskDefinition.MountPointProperty |
Modifier and Type | Method and Description |
---|---|
static CfnTaskDefinition.MountPointProperty.Builder |
builder() |
default java.lang.String |
getContainerPath()
The path on the container to mount the host volume at.
|
default java.lang.Object |
getReadOnly()
If this value is `true` , the container has read-only access to the volume.
|
default java.lang.String |
getSourceVolume()
The name of the volume to mount.
|
default java.lang.String getContainerPath()
default java.lang.Object getReadOnly()
If this value is false
, then the container can write to the volume. The default value is false
.
default java.lang.String getSourceVolume()
Must be a volume name referenced in the name
parameter of task definition volume
.
static CfnTaskDefinition.MountPointProperty.Builder builder()