Interface SecretPathVolumeOptions

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

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:03.465Z") @Stability(Stable) public interface SecretPathVolumeOptions extends software.amazon.jsii.JsiiSerializable, EksVolumeOptions
Options for a Kubernetes SecretPath Volume.

Example:

 EksJobDefinition jobDefn;
 jobDefn.container.addVolume(EksVolume.emptyDir(EmptyDirVolumeOptions.builder()
         .name("emptyDir")
         .mountPath("/Volumes/emptyDir")
         .build()));
 jobDefn.container.addVolume(EksVolume.hostPath(HostPathVolumeOptions.builder()
         .name("hostPath")
         .hostPath("/sys")
         .mountPath("/Volumes/hostPath")
         .build()));
 jobDefn.container.addVolume(EksVolume.secret(SecretPathVolumeOptions.builder()
         .name("secret")
         .optional(true)
         .mountPath("/Volumes/secret")
         .secretName("mySecret")
         .build()));
 

See Also: