Interface CfnJobDefinition.EksVolumeProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnJobDefinition.EksVolumeProperty.Jsii$Proxy
Enclosing class:
CfnJobDefinition

@Stability(Stable) public static interface CfnJobDefinition.EksVolumeProperty extends software.amazon.jsii.JsiiSerializable
Specifies an Amazon EKS volume for a job definition.

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.*;
 EksVolumeProperty eksVolumeProperty = EksVolumeProperty.builder()
         .name("name")
         // the properties below are optional
         .emptyDir(EmptyDirProperty.builder()
                 .medium("medium")
                 .sizeLimit("sizeLimit")
                 .build())
         .hostPath(HostPathProperty.builder()
                 .path("path")
                 .build())
         .secret(EksSecretProperty.builder()
                 .secretName("secretName")
                 // the properties below are optional
                 .optional(false)
                 .build())
         .build();
 

See Also: