Interface CfnTaskDefinition.VolumeFromProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTaskDefinition.VolumeFromProperty.Jsii$Proxy
- Enclosing class:
CfnTaskDefinition
@Stability(Stable)
public static interface CfnTaskDefinition.VolumeFromProperty
extends software.amazon.jsii.JsiiSerializable
Details on a data volume from another container in the same task 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.*; VolumeFromProperty volumeFromProperty = VolumeFromProperty.builder() .readOnly(false) .sourceContainer("sourceContainer") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnTaskDefinition.VolumeFromProperty
static final class
An implementation forCfnTaskDefinition.VolumeFromProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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
. -
getSourceContainer
The name of another container within the same task definition to mount volumes from. -
builder
-