Skip to content

EksContainerVolumeMount

Source code in docs_src/capo_batch/types/eks_container_volume_mount.py
class EksContainerVolumeMount(TypedDict, closed=True):
    name: NotRequired["capo_batch.types.string.String"]
    """<p>The name the volume mount. This must match the name of one of the volumes in the pod.</p>"""
    mount_path: NotRequired["capo_batch.types.string.String"]
    """<p>The path on the container where the volume is mounted.</p>"""
    sub_path: NotRequired["capo_batch.types.string.String"]
    """<p>A sub-path inside the referenced volume instead of its root.</p>"""
    read_only: NotRequired["capo_batch.types.boolean.Boolean"]
    """<p>If this value is <code>true</code>, the container has read-only access to the volume. Otherwise, the container can write to the volume. The default value is <code>false</code>.</p>"""

mount_path instance-attribute

mount_path: NotRequired[String]

The path on the container where the volume is mounted.

name instance-attribute

name: NotRequired[String]

The name the volume mount. This must match the name of one of the volumes in the pod.

read_only instance-attribute

read_only: NotRequired[Boolean]

If this value is true, the container has read-only access to the volume. Otherwise, the container can write to the volume. The default value is false.

sub_path instance-attribute

sub_path: NotRequired[String]

A sub-path inside the referenced volume instead of its root.