将相关资源添加到 OpsItem - Amazon Systems Manager
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

将相关资源添加到 OpsItem

每个 OpsItem 均包括一个相关资源部分,该部分将列出相关资源的 Amazon 资源名称(ARN)。相关资源是指需要调查的受影响的 Amazon 资源。

如果 Amazon EventBridge 创建 OpsItem,则系统将自动使用资源的 ARN 填充 OpsItem。您可以手动指定相关资源的 ARN。对于某些 ARN 类型,OpsCenter 将自动创建一个深层链接,它将直接在 OpsCenter 控制台中显示有关该资源的详细信息。例如,如果将 Amazon Elastic Compute Cloud(Amazon EC2)实例的 ARN 指定为相关资源,那么 OpsCenter 会提取与该 EC2 实例相关的详细信息。这使您能够查看有关受影响的 Amazon 资源的详细信息,而无需离开 OpsCenter。

查看相关资源并将相关资源添加到 OpsItem
  1. 访问 https://console.aws.amazon.com/systems-manager/,打开 Amazon Systems Manager 控制台。

  2. 在导航窗格中,选择 OpsCenter

  3. 选择 OpsItems 选项卡。

  4. 选择一个 OpsItem ID。

    
                            OpsCenter“概览”页面上的新 OpsItem
  5. 要查看有关受影响的资源的信息,请选择 Related resources details (相关资源详细信息)选项卡。

    
                            查看 OpsItem 的“相关资源详细信息”选项卡

    此选项卡将显示来自多个 Amazon Web Services的有关此资源的信息。展开 Resource details(资源详细信息)部分,以查看由托管此资源的 Amazon Web Service提供的有关此资源的信息。您也可以使用 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 格式

Amazon 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:*

Amazon CloudFormation 堆栈

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

Amazon CloudWatch 告警

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

Amazon CloudTrail 跟踪

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

Amazon CodeBuild 项目

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

Amazon 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 网络访问控制列表

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

Amazon Elastic Beanstalk 应用程序

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

Elastic Load Balancing (经典负载均衡器)

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

Elastic Load Balancing(应用程序负载均衡器)

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

Amazon Identity and Access Management (IAM) 组

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

IAM policy

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

Amazon 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

Amazon Systems Manager 托管式节点清单的 Amazon 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