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();
- See Also:
-
Nested Class Summary
Modifier 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.- See Also:
-
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
.- See Also:
-
getSourceVolume
The name of the volume to mount.Must be a volume name referenced in the
name
parameter of task definitionvolume
.- See Also:
-
builder
-