EksPersistentVolumeClaimProperty Struct
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
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_batch as batch } from 'aws-cdk-lib';
const eksPersistentVolumeClaimProperty: batch.CfnJobDefinition.EksPersistentVolumeClaimProperty = {
claimName: 'claimName',
// the properties below are optional
readOnly: false,
};
Properties
The name of the `persistentVolumeClaim` bounded to a `persistentVolume` .
For more information, see Persistent Volume Claims in the Kubernetes documentation .
readOnlyoptionalboolean | IResolvableread_onlyoptionaltyping.Union[bool, IResolvable]readOnlyoptionalBooleanReadOnlyoptionalboolReadOnlyoptionalinterface{}#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 .