Interface EmptyDirVolumeOptions

All Superinterfaces:
EksVolumeOptions, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
EmptyDirVolumeOptions.Jsii$Proxy

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-12T19:33:58.199Z") @Stability(Stable) public interface EmptyDirVolumeOptions extends software.amazon.jsii.JsiiSerializable, EksVolumeOptions
Options for a Kubernetes EmptyDir volume.

Example:

 EksJobDefinition jobDefn = EksJobDefinition.Builder.create(this, "eksf2")
         .container(EksContainerDefinition.Builder.create(this, "container")
                 .image(ContainerImage.fromRegistry("amazon/amazon-ecs-sample"))
                 .volumes(List.of(EksVolume.emptyDir(EmptyDirVolumeOptions.builder()
                         .name("myEmptyDirVolume")
                         .mountPath("/mount/path")
                         .medium(EmptyDirMediumType.MEMORY)
                         .readonly(true)
                         .sizeLimit(Size.mebibytes(2048))
                         .build())))
                 .build())
         .build();
 

See Also: