Interface CfnJobDefinitionPropsMixin.EksPersistentVolumeClaimProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnJobDefinitionPropsMixin.EksPersistentVolumeClaimProperty.Jsii$Proxy
- Enclosing class:
CfnJobDefinitionPropsMixin
@Stability(Stable)
public static interface CfnJobDefinitionPropsMixin.EksPersistentVolumeClaimProperty
extends software.amazon.jsii.JsiiSerializable
A
persistentVolumeClaim volume is used to mount a PersistentVolume into a Pod. PersistentVolumeClaims are a way for users to "claim" durable storage without knowing the details of the particular cloud environment. See the information about PersistentVolumes in the Kubernetes documentation .
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.*;
EksPersistentVolumeClaimProperty eksPersistentVolumeClaimProperty = EksPersistentVolumeClaimProperty.builder()
.claimName("claimName")
.readOnly(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnJobDefinitionPropsMixin.EksPersistentVolumeClaimProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getClaimName
The name of thepersistentVolumeClaimbounded to apersistentVolume.For more information, see Persistent Volume Claims in the Kubernetes documentation .
- See Also:
-
getReadOnly
An optional boolean value indicating if the mount is read only.Default is false. For more information, see Read Only Mounts in the Kubernetes documentation .
Returns union: either
BooleanorIResolvable- See Also:
-
builder
@Stability(Stable) static CfnJobDefinitionPropsMixin.EksPersistentVolumeClaimProperty.Builder builder()
-