EksVolumeOptions Struct
Options to configure an EksVolume.
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 eksVolumeOptions: batch.EksVolumeOptions = {
name: 'name',
// the properties below are optional
mountPath: 'mountPath',
readonly: false,
};
Properties
mountPathstringmount_pathstrmountPathStringMountPathstringMountPath*string= the volume is not mounted#The path on the container where the volume is mounted.
The name of this volume.
The name must be a valid DNS subdomain name.
If specified, the container has readonly access to the volume.
Otherwise, the container has read/write access.