Interface ScratchSpace
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ScratchSpace.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:47.441Z")
@Stability(Stable)
public interface ScratchSpace
extends software.amazon.jsii.JsiiSerializable
The temporary disk space mounted to the container.
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.*;
ScratchSpace scratchSpace = ScratchSpace.builder()
.containerPath("containerPath")
.name("name")
.readOnly(false)
.sourcePath("sourcePath")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forScratchSpacestatic final classAn implementation forScratchSpace -
Method Summary
Modifier and TypeMethodDescriptionstatic ScratchSpace.Builderbuilder()The path on the container to mount the scratch volume at.getName()The name of the scratch volume to mount.Specifies whether to give the container read-only access to the scratch volume.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getContainerPath
The path on the container to mount the scratch volume at. -
getName
The name of the scratch volume to mount.Must be a volume name referenced in the name parameter of task definition volume.
-
getReadOnly
Specifies whether to give the container read-only access to the scratch volume.If this value is true, the container has read-only access to the scratch volume. If this value is false, then the container can write to the scratch volume.
-
getSourcePath
-
builder
- Returns:
- a
ScratchSpace.BuilderofScratchSpace
-