@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.769Z") @Stability(value=Stable) public interface VolumeFrom 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.*;
VolumeFrom volumeFrom = VolumeFrom.builder()
.readOnly(false)
.sourceContainer("sourceContainer")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
VolumeFrom.Builder
A builder for
VolumeFrom |
static class |
VolumeFrom.Jsii$Proxy
An implementation for
VolumeFrom |
| Modifier and Type | Method and Description |
|---|---|
static VolumeFrom.Builder |
builder() |
Boolean |
getReadOnly()
Specifies whether the container has read-only access to the volume.
|
String |
getSourceContainer()
The name of another container within the same task definition from which to mount volumes.
|
@Stability(value=Stable) @NotNull Boolean getReadOnly()
If this value is true, the container has read-only access to the volume. If this value is false, then the container can write to the volume.
@Stability(value=Stable) @NotNull String getSourceContainer()
@Stability(value=Stable) static VolumeFrom.Builder builder()
VolumeFrom.Builder of VolumeFromCopyright © 2022. All rights reserved.