本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
在 Amazon Application Recovery Controller (ARC) 中標記路由控制
標籤是您用來識別和組織 AWS 資源的單字或片語 (中繼資料)。您可以為每個資源新增多個標籤,每個標籤都包含您定義的索引鍵和值。例如,金鑰可能是環境,而值可能是生產。您可以根據您新增的標籤來搜尋和篩選資源。
您可以在 ARC 中的路由控制中標記下列資源:
叢集
控制面板
安全規則
ARC 中的標記只能透過 API 使用,例如使用 AWS CLI。
以下是使用 在路由控制中標記的範例 AWS CLI。
aws route53-recovery-control-config --region us-west-2 create-cluster --cluster-name example1-cluster --tags Region=PDX,Stage=Prod
aws route53-recovery-control-config --region us-west-2 create-control-panel --control-panel-name example1-control-panel
--cluster-arn arn:aws:route53-recovery-control::111122223333:cluster/5678abcd-abcd-5678-abcd-5678abcdefgh --tags Region=PDX,Stage=Prod
如需詳細資訊,請參閱《Amazon Application Recovery Controller (ARC) 的 Recovery Control Configuration API 參考指南》中的 TagResource。