Skip to content

EksVolume

Source code in docs_src/capo_batch/types/eks_volume.py
class EksVolume(TypedDict, closed=True):
    name: NotRequired["capo_batch.types.string.String"]
    """<p>The name of the volume. The name must be allowed as a DNS subdomain name. For more information, see <a href="https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names">DNS subdomain names</a> in the <i>Kubernetes documentation</i>.</p>"""
    host_path: NotRequired["capo_batch.types.eks_host_path.EksHostPath"]
    """<p>Specifies the configuration of a Kubernetes <code>hostPath</code> volume. For more information, see <a href="https://kubernetes.io/docs/concepts/storage/volumes/#hostpath">hostPath</a> in the <i>Kubernetes documentation</i>.</p>"""
    empty_dir: NotRequired["capo_batch.types.eks_empty_dir.EksEmptyDir"]
    """<p>Specifies the configuration of a Kubernetes <code>emptyDir</code> volume. For more information, see <a href="https://kubernetes.io/docs/concepts/storage/volumes/#emptydir">emptyDir</a> in the <i>Kubernetes documentation</i>.</p>"""
    secret: NotRequired["capo_batch.types.eks_secret.EksSecret"]
    """<p>Specifies the configuration of a Kubernetes <code>secret</code> volume. For more information, see <a href="https://kubernetes.io/docs/concepts/storage/volumes/#secret">secret</a> in the <i>Kubernetes documentation</i>.</p>"""
    persistent_volume_claim: NotRequired[
        "capo_batch.types.eks_persistent_volume_claim.EksPersistentVolumeClaim"
    ]
    """<p>Specifies the configuration of a Kubernetes <code>persistentVolumeClaim</code> bounded to a <code>persistentVolume</code>. For more information, see <a href="https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims"> Persistent Volume Claims</a> in the <i>Kubernetes documentation</i>.</p>"""

empty_dir instance-attribute

empty_dir: NotRequired[EksEmptyDir]

Specifies the configuration of a Kubernetes emptyDir volume. For more information, see emptyDir in the Kubernetes documentation.

host_path instance-attribute

host_path: NotRequired[EksHostPath]

Specifies the configuration of a Kubernetes hostPath volume. For more information, see hostPath in the Kubernetes documentation.

name instance-attribute

name: NotRequired[String]

The name of the volume. The name must be allowed as a DNS subdomain name. For more information, see DNS subdomain names in the Kubernetes documentation.

persistent_volume_claim instance-attribute

persistent_volume_claim: NotRequired[EksPersistentVolumeClaim]

Specifies the configuration of a Kubernetes persistentVolumeClaim bounded to a persistentVolume. For more information, see Persistent Volume Claims in the Kubernetes documentation.

secret instance-attribute

secret: NotRequired[EksSecret]

Specifies the configuration of a Kubernetes secret volume. For more information, see secret in the Kubernetes documentation.