Interface CfnJobDefinitionPropsMixin.EksVolumeProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnJobDefinitionPropsMixin.EksVolumeProperty.Jsii$Proxy
- Enclosing class:
CfnJobDefinitionPropsMixin
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.batch.*;
EksVolumeProperty eksVolumeProperty = EksVolumeProperty.builder()
.emptyDir(EmptyDirProperty.builder()
.medium("medium")
.sizeLimit("sizeLimit")
.build())
.hostPath(HostPathProperty.builder()
.path("path")
.build())
.name("name")
.persistentVolumeClaim(EksPersistentVolumeClaimProperty.builder()
.claimName("claimName")
.readOnly(false)
.build())
.secret(EksSecretProperty.builder()
.optional(false)
.secretName("secretName")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnJobDefinitionPropsMixin.EksVolumePropertystatic final classAn implementation forCfnJobDefinitionPropsMixin.EksVolumeProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectSpecifies the configuration of a KubernetesemptyDirvolume.default ObjectSpecifies the configuration of a KuberneteshostPathvolume.default StringgetName()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
-
getEmptyDir
Specifies the configuration of a KubernetesemptyDirvolume.For more information, see emptyDir in the Kubernetes documentation .
Returns union: either
IResolvableorCfnJobDefinitionPropsMixin.EmptyDirProperty- See Also:
-
getHostPath
Specifies the configuration of a KuberneteshostPathvolume.For more information, see hostPath in the Kubernetes documentation .
Returns union: either
IResolvableorCfnJobDefinitionPropsMixin.HostPathProperty- See Also:
-
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:
-
getPersistentVolumeClaim
Specifies the configuration of a KubernetespersistentVolumeClaimbounded to apersistentVolume.For more information, see Persistent Volume Claims in the Kubernetes documentation .
Returns union: either
IResolvableorCfnJobDefinitionPropsMixin.EksPersistentVolumeClaimProperty- See Also:
-
getSecret
Specifies the configuration of a Kubernetessecretvolume.For more information, see secret in the Kubernetes documentation .
Returns union: either
IResolvableorCfnJobDefinitionPropsMixin.EksSecretProperty- See Also:
-
builder
-