

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

# 資料元件
<a name="data-component"></a>

 **AWS 資料元件上的工作負載探索** 

![\[工作負載探索資料元件\]](http://docs.aws.amazon.com/zh_tw/solutions/latest/workload-discovery-on-aws/images/workload-discovery-data-component.png)


Web UI 會將請求傳送至 AppSync API，該 API 會叫用 `Gremlin Resolver`或 `Search Resolver` Lambda 函數。這些函數會處理請求並查詢 Amazon Neptune 或 OpenSearch Service，以擷取所提供資源的資料。AWS AppSync 也支援來自 AWS CUR 的預估成本資料請求。

[探索元件](discovery-component.md)會將請求傳送至 AppSync API，以讀取和保留 Amazon Neptune 和 OpenSearch Service 資料庫中的資料。API 接收來自探索元件中 AWS Fargate 任務的請求。然後，API 會使用提供資料庫存取權的 IAM 角色進行身分驗證。