interface EksPersistentVolumeClaimProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Batch.Mixins.CfnJobDefinitionPropsMixin.EksPersistentVolumeClaimProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbatch/mixins#CfnJobDefinitionPropsMixin_EksPersistentVolumeClaimProperty |
Java | software.amazon.awscdk.mixins.preview.services.batch.mixins.CfnJobDefinitionPropsMixin.EksPersistentVolumeClaimProperty |
Python | aws_cdk.mixins_preview.aws_batch.mixins.CfnJobDefinitionPropsMixin.EksPersistentVolumeClaimProperty |
TypeScript | @aws-cdk/mixins-preview » aws_batch » mixins » CfnJobDefinitionPropsMixin » EksPersistentVolumeClaimProperty |
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 { mixins as batch_mixins } from '@aws-cdk/mixins-preview/aws-batch';
const eksPersistentVolumeClaimProperty: batch_mixins.CfnJobDefinitionPropsMixin.EksPersistentVolumeClaimProperty = {
claimName: 'claimName',
readOnly: false,
};
Properties
| Name | Type | Description |
|---|---|---|
| claim | string | The name of the persistentVolumeClaim bounded to a persistentVolume . |
| read | boolean | IResolvable | An optional boolean value indicating if the mount is read only. |
claimName?
Type:
string
(optional)
The name of the persistentVolumeClaim bounded to a persistentVolume .
For more information, see Persistent Volume Claims in the Kubernetes documentation .
readOnly?
Type:
boolean | IResolvable
(optional)
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 .

.NET
Go
Java
Python
TypeScript