Interface ScratchSpace
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ScratchSpace.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:01.157Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forScratchSpace
static final class
An implementation forScratchSpace
-
Method Summary
Modifier and TypeMethodDescriptionstatic ScratchSpace.Builder
builder()
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.Builder
ofScratchSpace
-