

# Volume
<a name="API_Volume"></a>

Volume used by the Kubernetes workload.

## Contents
<a name="API_Volume_Contents"></a>

 ** hostPath **   <a name="guardduty-Type-Volume-hostPath"></a>
Represents a pre-existing file or directory on the host machine that the volume maps to.  
Type: [HostPath](API_HostPath.md) object  
Required: No

 ** name **   <a name="guardduty-Type-Volume-name"></a>
Volume name.  
Type: String  
Required: No

## See Also
<a name="API_Volume_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/guardduty-2017-11-28/Volume) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/guardduty-2017-11-28/Volume) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/guardduty-2017-11-28/Volume) 