Interface EksVolumeOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
EmptyDirVolumeOptions
,HostPathVolumeOptions
,SecretPathVolumeOptions
- All Known Implementing Classes:
EksVolumeOptions.Jsii$Proxy
,EmptyDirVolumeOptions.Jsii$Proxy
,HostPathVolumeOptions.Jsii$Proxy
,SecretPathVolumeOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:23:57.700Z")
@Stability(Stable)
public interface EksVolumeOptions
extends software.amazon.jsii.JsiiSerializable
Options to configure an EksVolume.
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.batch.*; EksVolumeOptions eksVolumeOptions = EksVolumeOptions.builder() .name("name") // the properties below are optional .mountPath("mountPath") .readonly(false) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forEksVolumeOptions
static final class
An implementation forEksVolumeOptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic EksVolumeOptions.Builder
builder()
default String
The path on the container where the volume is mounted.getName()
The name of this volume.default Boolean
If specified, the container has readonly access to the volume.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of this volume.The name must be a valid DNS subdomain name.
- See Also:
-
getMountPath
The path on the container where the volume is mounted.Default: - the volume is not mounted
-
getReadonly
If specified, the container has readonly access to the volume.Otherwise, the container has read/write access.
Default: false
-
builder
- Returns:
- a
EksVolumeOptions.Builder
ofEksVolumeOptions
-