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:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnJobDefinition.EksVolumeProperty
static final class
An implementation forCfnJobDefinition.EksVolumeProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
Specifies the configuration of a KubernetesemptyDir
volume.default Object
Specifies the configuration of a KuberneteshostPath
volume.getName()
The name of the volume.default Object
Specifies the configuration of a Kubernetessecret
volume.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of the volume.The name must be allowed as a DNS subdomain name. For more information, see DNS subdomain names in the Kubernetes documentation .
- See Also:
-
getEmptyDir
Specifies the configuration of a KubernetesemptyDir
volume.For more information, see emptyDir in the Kubernetes documentation .
- See Also:
-
getHostPath
Specifies the configuration of a KuberneteshostPath
volume.For more information, see hostPath in the Kubernetes documentation .
- See Also:
-
getSecret
Specifies the configuration of a Kubernetessecret
volume.For more information, see secret in the Kubernetes documentation .
- See Also:
-
builder
-