終止支援通知:將於 2026 年 10 月 7 日 AWS 結束對 的支援 AWS Proton。2026 年 10 月 7 日之後,您將無法再存取 AWS Proton 主控台或 AWS Proton 資源。您部署的基礎設施將保持不變。如需詳細資訊,請參閱AWS Proton 服務棄用和遷移指南。
本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
檢視環境資料
您可以使用 AWS Proton 主控台或 檢視環境詳細資訊 AWS CLI。
- AWS 管理主控台
-
您可以使用 AWS Proton 主控台,檢視包含詳細資訊的環境清單,以及包含詳細資訊的個別環境清單。
-
若要檢視您的環境清單,請在導覽窗格中選擇環境。
-
若要檢視詳細資訊,請選擇環境的名稱。
檢視您的環境詳細資訊。
- AWS CLI
-
使用 AWS CLI 取得或列出環境詳細資訊。
執行以下命令:
$ aws proton get-environment \
--name "MySimpleEnv"
回應:
{
"environment": {
"arn": "arn:aws:proton:region-id:123456789012:environment/MySimpleEnv",
"createdAt": "2020-11-11T23:03:05.405000+00:00",
"deploymentStatus": "SUCCEEDED",
"lastDeploymentAttemptedAt": "2020-11-11T23:03:05.405000+00:00",
"lastDeploymentSucceededAt": "2020-11-11T23:03:05.405000+00:00",
"name": "MySimpleEnv",
"protonServiceRoleArn": "arn:aws:iam::123456789012:role/ProtonServiceRole",
"spec": "proton: EnvironmentSpec\nspec:\n my_sample_input: \"the first\"\n my_other_sample_input: \"the second\"\n",
"templateMajorVersion": "1",
"templateMinorVersion": "0",
"templateName": "simple-env"
}
}