將相關的資源新增至 OpsItem - AWS Systems Manager

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

將相關的資源新增至 OpsItem

每個 OpsItem 都包含相關資源區段,此區域會列出相關資源的 Amazon Resource Name (ARN)。相關資源是需要調查的受影響 AWS 資源。

如果 Amazon EventBridge 建立 OpsItem,系統會自動使用資源的 ARN 填入 OpsItem。您可以手動指定相關資源的 ARN。針對某些 ARN 類型,OpsCenter 會自動建立深層連結,在 OpsCenter 主控台中直接顯示資源的詳細資訊。例如,如果您將一個 Amazon Elastic Compute Cloud (Amazon EC2) 執行個體的 ARN 指定為相關資源,則 OpsCenter 會提取該 EC2 執行個體的詳細資訊。這可讓您檢視受影響之 AWS 資源的詳細資訊,卻不必離開 OpsCenter。

檢視相關資源並新增至 OpsItem
  1. 開啟位於 https://console.aws.amazon.com/systems-manager/ 的 AWS Systems Manager 主控台。

  2. 在導覽窗格中,選擇 OpsCenter

  3. 選擇 (OpsItems) 索引標籤。

  4. 選擇 OpsItem ID。

    OpsCenter 概觀頁面的新 OpsItem。
  5. 若要檢視受影響資源的資訊,請選擇 Related resources details (相關資源詳細資訊) 標籤。

    檢視 OpsItem 的「相關資源詳細資訊」索引標籤。

    這個索引標籤會顯示來自多種 AWS 服務 之資源的相關資訊。展開 Resource details (資源詳細資訊) 區段,可檢視此資源的相關資訊,此資訊由託管之 AWS 服務 提供。您也可以使用 Related resources (相關資源) 清單切換與此 OpsItem 關聯的其他相關資源。

  6. 若要新增其他相關資源,請選擇 Overview (概觀) 標籤。

  7. Related resources (相關資源) 區段中,選擇 Add (新增)

  8. 對於 Resource Type (資源類型),選擇清單中的資源。

  9. 對於 Resource ID (資源 ID),輸入 ID 或 Amazon Resource Name (ARN)。您所選擇的資訊類型取決於您在上個步驟所選擇的資源。

注意

您可以手動新增其他相關資源的 ARN。每個 OpsItem 最多可以列出 100 個相關的資源 ARN。

下表列出了會自動建立相關資源深層連結的資源類型。

支援的資源類型
資源名稱 ARN 格式

AWS Certificate Manager 憑證

arn:aws:acm:region:account-id:certificate/certificate-id

Amazon EC2 Auto Scaling 群組

arn:aws:autoscaling:region:account-id:autoScalingGroup:groupid:autoScalingGroupName/groupfriendlyname

Amazon CloudFront 分佈

arn:aws:cloudfront::account-id:*

AWS CloudFormation 堆疊

arn:aws:cloudformation:region:account-id:stack/stackname/additionalidentifier

Amazon CloudWatch 警示

arn:aws:cloudwatch:region:account-id:alarm:alarm-name

AWS CloudTrail 線索

arn:aws:cloudtrail:region:account-id:trail/trailname

AWS CodeBuild 專案

arn:aws:codebuild:region:account-id:resourcetype/resource

AWS CodePipeline

arn:aws:codepipeline:region:account-id:resource-specifier

Amazon DevOps Guru 洞察

arn:aws:devops-guru:region:account-id:insight/proactive or reactive/resource-id

Amazon DynamoDB 資料表

arn:aws:dynamodb:region:account-id:table/tablename

Amazon Elastic Compute Cloud (Amazon EC2) 客戶閘道

arn:aws:ec2:region:account-id:customer-gateway/cgw-id

Amazon EC2 彈性 IP

arn:aws:ec2:region:account-id:eip/eipalloc-id

Amazon EC2 專用主機

arn:aws:ec2:region:account-id:dedicated-host/host-id

Amazon EC2 執行個體

arn:aws:ec2:region:account-id:instance/instance-id

Amazon EC2 網際網路閘道

arn:aws:ec2:region:account-id:internet-gateway/igw-id

Amazon EC2 網路存取控制清單 (network ACL)

arn:aws:ec2:region:account-id:network-acl/nacl-id

Amazon EC2 網路界面

arn:aws:ec2:region:account-id:network-interface/eni-id

Amazon EC2 路由表

arn:aws:ec2:region:account-id:route-table/route-table-id

Amazon EC2 安全群組

arn:aws:ec2:region:account-id:security-group/security-group-id

Amazon EC2 子網路

arn:aws:ec2:region:account-id:subnet/subnet-id

Amazon EC2 磁碟區

arn:aws:ec2:region:account-id:volume/volume-id

Amazon EC2 VPC

arn:aws:ec2:region:account-id:vpc/vpc-id

Amazon EC2 VPN 連接

arn:aws:ec2:region:account-id:vpn-connection/vpn-id

Amazon EC2 VPN 閘道

arn:aws:ec2:region:account-id:vpn-gateway/vgw-id

AWS Elastic Beanstalk 應用程式

arn:aws:elasticbeanstalk:region:account-id:application/applicationname

Elastic Load Balancing (Classic Load Balancer)

arn:aws:elasticloadbalancing:region:account-id:loadbalancer/name

Elastic Load Balancing (Application Load Balancer)

arn:aws:elasticloadbalancing:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id

Elastic Load Balancing (Network Load Balancer)

arn:aws:elasticloadbalancing:region:account-id:loadbalancer/net/load-balancer-name/load-balancer-id

AWS Identity and Access Management (IAM) 群組

arn:aws:iam::account-id:group/group-name

IAM 政策

arn:aws:iam::account-id:policy/policy-name

IAM 角色

arn:aws:iam::account-id:role/role-name

IAM 使用者

arn:aws:iam::account-id:user/user-name

AWS Lambda 函數

arn:aws:lambda:region:account-id:function:function-name

Amazon Relational Database Service (Amazon RDS) 叢集

arn:aws:rds:region:account-id:cluster:db-cluster-name

Amazon RDS 資料庫執行個體

arn:aws:rds:region:account-id:db:db-instance-name

Amazon RDS 訂閱

arn:aws:rds:region:account-id:es:subscription-name

Amazon RDS 安全群組

arn:aws:rds:region:account-id:secgrp:security-group-name

Amazon RDS 叢集快照

arn:aws:rds:region:account-id:cluster-snapshot:cluster-snapshot-name

Amazon RDS 子網路群組

arn:aws:rds:region:account-id:subgrp:subnet-group-name

Amazon Redshift 叢集

arn:aws:redshift:region:account-id:cluster:cluster-name

Amazon Redshift 參數群組

arn:aws:redshift:region:account-id:parametergroup:parameter-group-name

Amazon Redshift 安全群組

arn:aws:redshift:region:account-id:securitygroup:security-group-name

Amazon Redshift 叢集快照

arn:aws:redshift:region:account-id:snapshot:cluster-name/snapshot-name

Amazon Redshift 子網路群組

arn:aws:redshift:region:account-id:subnetgroup:subnet-group-name

Amazon Simple Storage Service (Amazon S3) 儲存貯體

arn:aws:s3:::bucket_name

AWS Systems Manager 受管節點庫存的 AWS Config 記錄

arn:aws:ssm:region:account-id:managed-instance-inventory/node_id

Systems Manager State Manager 關聯

arn:aws:ssm:region:account-id:association/association_ID