public static interface CfnTaskDefinition.VolumeFromProperty
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.*; VolumeFromProperty volumeFromProperty = VolumeFromProperty.builder() .readOnly(false) .sourceContainer("sourceContainer") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnTaskDefinition.VolumeFromProperty.Builder
A builder for
CfnTaskDefinition.VolumeFromProperty |
static class |
CfnTaskDefinition.VolumeFromProperty.Jsii$Proxy
An implementation for
CfnTaskDefinition.VolumeFromProperty |
Modifier and Type | Method and Description |
---|---|
static CfnTaskDefinition.VolumeFromProperty.Builder |
builder() |
default java.lang.Object |
getReadOnly()
If this value is `true` , the container has read-only access to the volume.
|
default java.lang.String |
getSourceContainer()
The name of another container within the same task definition to mount volumes from.
|
default java.lang.Object getReadOnly()
If this value is false
, then the container can write to the volume. The default value is false
.
default java.lang.String getSourceContainer()
static CfnTaskDefinition.VolumeFromProperty.Builder builder()