@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)",
date="2022-05-20T22:20:05.573Z")
public interface VolumeFrom
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() |
java.lang.Boolean |
getReadOnly()
Specifies whether the container has read-only access to the volume.
|
java.lang.String |
getSourceContainer()
The name of another container within the same task definition from which to mount volumes.
|
java.lang.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.
java.lang.String getSourceContainer()
static VolumeFrom.Builder builder()
VolumeFrom.Builder
of VolumeFrom