

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# PathElement
<a name="API_PathElement"></a>

透過政策的 JSON 表示法，路徑中的單一元素。

## 目錄
<a name="API_PathElement_Contents"></a>

**重要**  
此資料類型是 UNION，因此在使用或傳回時只能指定下列其中一個成員。

 ** index **   <a name="accessanalyzer-Type-PathElement-index"></a>
參考 JSON 陣列中的 索引。  
類型：整數  
必要：否

 ** key **   <a name="accessanalyzer-Type-PathElement-key"></a>
參考 JSON 物件中的金鑰。  
類型：字串  
必要：否

 ** substring **   <a name="accessanalyzer-Type-PathElement-substring"></a>
是指 JSON 物件中常值字串的子字串。  
類型：[Substring](API_Substring.md) 物件  
必要：否

 ** value **   <a name="accessanalyzer-Type-PathElement-value"></a>
是指與 JSON 物件中指定金鑰相關聯的值。  
類型：字串  
必要：否

## 另請參閱
<a name="API_PathElement_SeeAlso"></a>

如需在其中一種語言特定 AWS SDKs中使用此 API 的詳細資訊，請參閱下列內容：
+  [AWS 適用於 C\$1\$1 的 SDK](https://docs.aws.amazon.com/goto/SdkForCpp/accessanalyzer-2019-11-01/PathElement) 
+  [AWS 適用於 Java V2 的 SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/accessanalyzer-2019-11-01/PathElement) 
+  [AWS 適用於 Ruby V3 的 SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/accessanalyzer-2019-11-01/PathElement) 