Class EmptyDirVolume
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.batch.EksVolume
software.amazon.awscdk.services.batch.EmptyDirVolume
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:33.368Z")
@Stability(Stable)
public class EmptyDirVolume
extends EksVolume
A Kubernetes EmptyDir volume.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
import software.amazon.awscdk.services.batch.*;
Size size;
EmptyDirVolume emptyDirVolume = EmptyDirVolume.Builder.create()
.name("name")
// the properties below are optional
.medium(EmptyDirMediumType.DISK)
.mountPath("mountPath")
.readonly(false)
.sizeLimit(size)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Constructor Summary
ConstructorsModifierConstructorDescriptionEmptyDirVolume(EmptyDirVolumeOptions options) protectedEmptyDirVolume(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedEmptyDirVolume(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe storage type to use for this Volume.The maximum size for this Volume.static BooleanReturnstrueifxis an EmptyDirVolume,falseotherwise.Methods inherited from class software.amazon.awscdk.services.batch.EksVolume
emptyDir, getContainerPath, getName, getReadonly, hostPath, secretMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
EmptyDirVolume
protected EmptyDirVolume(software.amazon.jsii.JsiiObjectRef objRef) -
EmptyDirVolume
protected EmptyDirVolume(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
EmptyDirVolume
- Parameters:
options- This parameter is required.
-
-
Method Details
-
isEmptyDirVolume
Returnstrueifxis an EmptyDirVolume,falseotherwise.- Parameters:
x- This parameter is required.
-
getMedium
The storage type to use for this Volume.Default: `EmptyDirMediumType.DISK`
-
getSizeLimit
The maximum size for this Volume.Default: - no size limit
-