Guardduty > Structures > Volume Volume¶ Structure Class¶ Volume dataclass ¶ Volume used by the Kubernetes workload. Attributes¶ host_path class-attribute instance-attribute ¶ host_path: HostPath | None = None Represents a pre-existing file or directory on the host machine that the volume maps to. name class-attribute instance-attribute ¶ name: str | None = None Volume name.