Interface SecretPathVolumeOptions

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

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-22T02:23:57.767Z") @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: