@Stability(value=Stable)
public static interface CfnTaskDefinition.MountPointProperty
extends software.amazon.jsii.JsiiSerializable
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 String |
getContainerPath()
The path on the container to mount the host volume at.
|
default Object |
getReadOnly()
If this value is `true` , the container has read-only access to the volume.
|
default String |
getSourceVolume()
The name of the volume to mount.
|
@Stability(value=Stable) @Nullable default String getContainerPath()
@Stability(value=Stable) @Nullable default Object getReadOnly()
If this value is false , then the container can write to the volume. The default value is false .
@Stability(value=Stable) @Nullable default String getSourceVolume()
Must be a volume name referenced in the name parameter of task definition volume .
@Stability(value=Stable) static CfnTaskDefinition.MountPointProperty.Builder builder()
Copyright © 2022. All rights reserved.