在我的解决方案中,我下载了Trusted Advisor Checks(通过.Net SDK)。当我查看响应时:
{
"result": {
"categorySpecificSummary": {
"costOptimizing": {
"estimatedMonthlySavings": 29.52,
"estimatedPercentMonthlySavings": 0.0
}
},
"checkId": "Ti39halfu8",
"flaggedResources": [{
"isSuppressed": false,
"metadata": ["us-east-2", "dbinstance", "No", "db.t2.small", "1", "14+", "$30"],
"region": "us-east-2",
"resourceId": "qYipwg3eEj_WYOv5N8ZvFfw_eu_C9RxEmhgStOpGa0g",
"status": "warning"
}],
"resourcesSummary": {
"resourcesFlagged": 1,
"resourcesIgnored": 0,
"resourcesProcessed": 1,
"resourcesSuppressed": 0
},
"status": "warning",
"timestamp": "2019-06-21T08:24:17Z"
}
}
我看到有一个字段“ resourceId”,但是我通常使用ARN来标识AWS资源。是否有一种方法可以将“ resourceId”与ARN相关联?或者是一个允许基于resourceId获取ARN的API?