Interface CfnJobDefinition.IEksPersistentVolumeClaimProperty
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 .
Namespace: Amazon.CDK.AWS.Batch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnJobDefinition.IEksPersistentVolumeClaimProperty
Syntax (vb)
Public Interface CfnJobDefinition.IEksPersistentVolumeClaimProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Batch;
var eksPersistentVolumeClaimProperty = new EksPersistentVolumeClaimProperty {
ClaimName = "claimName",
// the properties below are optional
ReadOnly = false
};
Synopsis
Properties
| ClaimName | The name of the |
| ReadOnly | An optional boolean value indicating if the mount is read only. |
Properties
ClaimName
The name of the persistentVolumeClaim bounded to a persistentVolume .
string ClaimName { get; }
Property Value
Remarks
For more information, see Persistent Volume Claims in the Kubernetes documentation .
ReadOnly
An optional boolean value indicating if the mount is read only.
object? ReadOnly { get; }
Property Value
Remarks
Default is false. For more information, see Read Only Mounts in the Kubernetes documentation .
Type union: either bool or IResolvable