Interface CfnJobDefinition.EksVolumeProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnJobDefinition.EksVolumeProperty.Jsii$Proxy
- Enclosing class:
CfnJobDefinition
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())
.persistentVolumeClaim(EksPersistentVolumeClaimProperty.builder()
.claimName("claimName")
// the properties below are optional
.readOnly(false)
.build())
.secret(EksSecretProperty.builder()
.secretName("secretName")
// the properties below are optional
.optional(false)
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnJobDefinition.EksVolumePropertystatic final classAn implementation forCfnJobDefinition.EksVolumeProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectSpecifies the configuration of a KubernetesemptyDirvolume.default ObjectSpecifies the configuration of a KuberneteshostPathvolume.getName()The name of the volume.default ObjectSpecifies the configuration of a KubernetespersistentVolumeClaimbounded to apersistentVolume.default ObjectSpecifies the configuration of a Kubernetessecretvolume.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 KubernetesemptyDirvolume.For more information, see emptyDir in the Kubernetes documentation .
Returns union: either
IResolvableorCfnJobDefinition.EmptyDirProperty- See Also:
-
getHostPath
Specifies the configuration of a KuberneteshostPathvolume.For more information, see hostPath in the Kubernetes documentation .
Returns union: either
IResolvableorCfnJobDefinition.HostPathProperty- See Also:
-
getPersistentVolumeClaim
Specifies the configuration of a KubernetespersistentVolumeClaimbounded to apersistentVolume.For more information, see Persistent Volume Claims in the Kubernetes documentation .
Returns union: either
IResolvableorCfnJobDefinition.EksPersistentVolumeClaimProperty- See Also:
-
getSecret
Specifies the configuration of a Kubernetessecretvolume.For more information, see secret in the Kubernetes documentation .
Returns union: either
IResolvableorCfnJobDefinition.EksSecretProperty- See Also:
-
builder
-