Interface CfnTaskDefinition.MountPointProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTaskDefinition.MountPointProperty.Jsii$Proxy
- Enclosing class:
- CfnTaskDefinition
@Stability(Stable)
public static interface CfnTaskDefinition.MountPointProperty
extends software.amazon.jsii.JsiiSerializable
The details for a volume mount point that's used in a container definition.
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnTaskDefinition.MountPointProperty
static final class
An implementation forCfnTaskDefinition.MountPointProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getContainerPath
The path on the container to mount the host volume at. -
getReadOnly
If this value istrue
, the container has read-only access to the volume.If this value is
false
, then the container can write to the volume. The default value isfalse
. -
getSourceVolume
The name of the volume to mount.Must be a volume name referenced in the
name
parameter of task definitionvolume
. -
builder
-