

# HostPath
<a name="API_HostPath"></a>

Represents a pre-existing file or directory on the host machine that the volume maps to.

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

 ** path **   <a name="guardduty-Type-HostPath-path"></a>
Path of the file or directory on the host that the volume maps to.  
Type: String  
Required: No

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

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