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();
 
 - See Also:
 
- 
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTaskDefinition.VolumeFromPropertystatic final classAn 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.Returns union: either
BooleanorIResolvable- See Also:
 
 - 
getSourceContainer
The name of another container within the same task definition to mount volumes from.- See Also:
 
 - 
builder
 
 -