View a markdown version of this page

参考: Amazon Health events Amazon EventBridge 架构 - Amazon Health
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)

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

参考: Amazon Health events Amazon EventBridge 架构

以下是 Amazon Health 事件的架构。详细信息参数的内容详见第二个表。该架构表后提供了示例有效载荷。

Amazon Health 事件架构

Amazon Health 事件架构
参数 说明 必填
版本 EventBridge 版本,当前为 “0”。
id EventBridge 事件的唯一标识符。
detail-type 详细信息的类型。对于 Amazon Health 事件,支持的值为&Amazon Health EventAmazon Health Abuse Event
source

事件总线源。对于 Amazon Health 事件,支持的值为 aws.health

account Amazon Health 事件发送到的账户 ID。
注意

对于组织视图,如果通过管理账户或委派管理员账户接收,则将是与受影响账户不同的账户。

时间 通知发送到的时间 EventBridge。格式:yyyy-mm-ddThh:mm:ssZ
region Amazon Web Services 区域 通知的收件人。
注意

此字段未指明此 Amazon Health 事件的受影响区域。该信息已在 detail.eventRegion 中报告。

resources

描述账户中受影响资源的列表(如有)。

如未提及任何资源,则此字段为空。

detail

包含 Amazon Health 事件详细信息的部分,如本节之后的表格所述。

“detail”参数的架构内容

下表记录了 Amazon Health 事件架构中详细参数的内容。

Amazon Health 事件架构:详细参数内容
“detail”参数的内容 说明 必填
eventArn 特定地区 Amazon Health 事件的唯一标识符,包括地区和事件 ID。
注意

活动 ARN 并不是特定 Amazon Web Services 账户 或地区所独有的。

service Amazon Web Services 服务 受 Amazon Health 事件影响的人。例如,Amazon EC2、Amazon Simple Storage Service、Amazon Redshift 或 Amazon Relational Database Service。
eventTypeCode 事件类型的唯一标识符。例如:AWS_EC2_INSTANCE_NETWORK_MAINTENANCE_SCHEDULEDAWS_EC2_INSTANCE_REBOOT_MAINTENANCE_SCHEDULED。包含 MAINTENANCE_SCHEDULED 的事件通常在开始时间之前约两周推送。
注意

所有新的计划生命周期事件都具有事件类型 AWS_{SERVICE}_PLANNED_LIFECYCLE_EVENT

eventTypeCategory 事件的类别代码。支持的值包括 issueaccountNotificationinvestigationscheduledChange
eventScopeCode 指明该 Amazon Health 活动是针对特定账户的还是公开的。支持的值为 ACCOUNT_SPECIFICPUBLIC
communicationId

此次 Amazon Health 事件通信的唯一标识符。

具有相同通信 ID 的消息可能是备份消息或单个 Amazon Health 事件的页面。此标识符可以与账户 ID 结合使用,有助于消除重复的消息。

借助 Amazon Health 事件分页支持,通信 ID 包括页码,以保持通信 ID 在各个页面上的唯一性,例如 12345678910-1。有关更多信息,请参阅 查看的分页列表 Amazon Health 活动开启 EventBridge

startTime Amazon Health 活动的开始时间,格式为DoW, DD, MMM, YYYY, HH:MM:SS TZ

计划事件的开始时间可以是未来。

endTime Amazon Health 活动的结束时间,格式为:DoW, DD MMM YYYY HH:MM:SS TZ

无法为计划某个未来时间进行的事件提供结束时间。

最后的 UpdatedTime Amazon Health 事件的最后更新时间,格式为DoW, DD MMM YYYY HH:MM:SS TZ
statusCode

Amazon Health 事件的状态。

支持的值包括 openclosedupcoming

eventRegion 此 Amazon Health 事件描述的受影响地区。
eventDescription

描述 Amazon Health 事件的部分。包括用于描述事件的语言和文本字段。

  • 语言 - Amazon Health 事件中使用的语言的代码。通常由事件发布区域决定。例如,在 us-east-1 区域通常为 en_US

  • LatestDescription — 描述从 Amazon Health API 呈现 Amazon Health 的事件,通常出现在仪表板上 Amazon Health 。

    注意

    对于公共事件,其中仅包含最新更新,而非事件的完整历史记录。

eventMetadata

可以为 Amazon Health 事件提供的其他事件元数据。

  • <metadata key 1> – 元数据键值对字符串:"keystring1": "keyvalue1"

    事件元数据的键值对由发送事件的服务确定。 Amazon Health

affectedEntities

描述 Amazon Health 事件中受影响资源的资源值和状态的数组。

  • EntityValue — ID。 resource/entity

  • LastUpdatedTime — 上次更新此 resource/entity 状态的时间,格式为。DoW, DD MMM YYYY HH:MM:SS TZ

  • 状态 — 受影响者的状态 resource/entity。支持的值包括 IMPAIREDUNIMPAIREDPENDINGRESOLVEDUNKNOWN

注意

对于计划的生命周期事件,资源状态更新以异步方式定期执行,在极少数情况下可能延迟长达 72 小时。有关更多信息,请参阅 当收到已计划的生命周期事件通知时,将会发生什么?

page

此消息所表示的页面。有关更多信息,请参阅 查看的分页列表 Amazon Health 活动开启 EventBridge

注意

分页仅在资源上发生。如果由于其他原因超出 256KB 大小限制,则通信会失败。

totalPages

此运行状况事件的总页数。有关更多信息,请参阅 查看的分页列表 Amazon Health 活动开启 EventBridge

您可以通过该值来确定是否收到某个账户多页通信的所有页面。

BackupEvent 如果客户不想利用冗余,则此标志会过滤分区内指定备份区域中的备份事件。该值可以是对也可以是假。
affectedAccount

受影响账户的账户 ID。

如果将此运行状况事件发送到属于的账户并在管理账户或委派管理员账户中接收,则该值可能 Amazon Organizations 与account字段中的值不同。

可操作性 元数据用于激活程序化确定哪些事件需要采取行动,无需手动检查。可能的(单个)值可以是ACTION_REQUIREDACTION_MAY_BE_REQUIRED、或INFORMATIONAL
表象人格 此元数据清单可激活程序确定将活动发送给哪个利益相关者。可能的(多个)值是OPERATIONALSECURITY、和BILLING

公共运行状况事件 - Amazon EC2 操作问题

{ "version": "0", "id": "7bf73129-1428-4cd3-a780-95db273d1602", "detail-type": "AWS Health Event", "source": "aws.health", "account": "123456789012", "time": "2023-01-27T09:01:22Z", "region": "af-south-1", "resources": [], "detail": { "eventArn": "arn:aws:health:af-south-1::event/EC2/AWS_EC2_OPERATIONAL_ISSUE/AWS_EC2_OPERATIONAL_ISSUE_7f35c8ae-af1f-54e6-a526-d0179ed6d68f", "service": "EC2", "eventTypeCode": "AWS_EC2_OPERATIONAL_ISSUE", "eventTypeCategory": "issue", "eventScopeCode": "PUBLIC", "communicationId": "01b0993207d81a09dcd552ebd1e633e36cf1f09a-1", "startTime": "Fri, 27 Jan 2023 06:02:51 GMT", "endTime": "Fri, 27 Jan 2023 09:01:22 GMT", "lastUpdatedTime": "Fri, 27 Jan 2023 09:01:22 GMT", "statusCode": "open", "eventRegion": "af-south-1", "eventDescription": [{ "language": "en_US", "latestDescription": "Current severity level: Operating normally\n\n[RESOLVED] \n\n [03:15 PM PST] We continue see recovery \n\nThe following AWS services were previously impacted but are now operating normally: APPSYNC, BACKUP, EVENTS." }], "affectedEntities": [], "page": "1", "totalPages": "1", "backupEvent": "false", "affectedAccount": "123456789012", "personas": ["OPERATIONS"] } }

Account-specific Amazon Health 事件-弹性负载平衡 API 问题

{ "version": "0", "id": "121345678-1234-1234-1234-123456789012", "detail-type": "AWS Health Event", "source": "aws.health", "account": "123456789012", "time": "2022-06-10T06:27:57Z", "region": "ap-southeast-2", "resources": [], "detail": { "eventArn": "arn:aws:health:ap-southeast-2::event/AWS_ELASTICLOADBALANCING_API_ISSUE_90353408594353980", "service": "ELASTICLOADBALANCING", "eventTypeCode": "AWS_ELASTICLOADBALANCING_API_ISSUE", "eventTypeCategory": "issue", "eventScopeCode": "ACCOUNT_SPECIFIC", "communicationId": "01b0993207d81a09dcd552ebd1e633e36cf1f09a-1", "startTime": "Fri, 10 Jun 2022 05:01:10 GMT", "endTime": "Fri, 10 Jun 2022 05:30:57 GMT", "statusCode": "open", "eventRegion": "ap-southeast-2", "eventDescription": [{ "language": "en_US", "latestDescription": "A description of the event will be provided here" }], "page": "1", "totalPages": "1", "backupEvent": "false", "affectedAccount": "123456789012", "personas": ["OPERATIONS"] } }

Account-specific Amazon Health 事件-Amazon EC2 实例存储驱动器性能下降的备份事件

{ "version": "0", "id": "121345678-1234-1234-1234-123456789012", "detail-type": "AWS Health Event", "source": "aws.health", "account": "123456789012", "time": "2022-06-03T06:27:57Z", "region": "us-west-2", "resources": [ "i-abcd1111" ], "detail": { "eventArn": "arn:aws:health:us-east-1::event/AWS_EC2_INSTANCE_STORE_DRIVE_PERFORMANCE_DEGRADED_90353408594353980", "service": "EC2", "eventTypeCode": "AWS_EC2_INSTANCE_STORE_DRIVE_PERFORMANCE_DEGRADED", "eventTypeCategory": "issue", "eventScopeCode": "ACCOUNT_SPECIFIC", "communicationId": "01b0993207d81a09dcd552ebd1e633e36cf1f09a-1", "startTime": "Fri, 3 Jun 2022 05:01:10 GMT", "endTime": "Fri, 3 Jun 2022 05:30:57 GMT", "statusCode": "open", "eventRegion": "us-east-1", "eventDescription": [{ "language": "en_US", "latestDescription": "A description of the event will be provided here" }], "affectedEntities": [{ "entityValue": "i-abcd1111" }], "page": "1", "totalPages": "1", "backupEvent": "true", "affectedAccount": "123456789012", "personas": ["OPERATIONS"] } }

Account-specific Amazon Health 活动-亚马逊 EC2 实例停用

{ "version": "0", "id": "7bf73129-1428-4cd3-a780-95db273d1602", "detail-type": "AWS Health Event", "source": "aws.health", "account": "123456789012", "time": "2026-01-27T01:43:21Z", "region": "us-east-1", "detail": { "eventArn": "arn:aws:health:us-east-1::event/AWS_EC2_INSTANCE_RETIREMENT_SCHEDULED_90353408594353983", "service": "EC2", "eventTypeCode": "AWS_EC2_INSTANCE_RETIREMENT_SCHEDULED", "eventTypeCategory": "scheduledChange", "eventScopeCode": "ACCOUNT_SPECIFIC", "communicationId": "1234abc01232a4012345678-1", "startTime": "Thu, 27 Aug 2026 13:19:03 GMT", "lastUpdatedTime": "Thu, 27 Jan 2026 13:44:13 GMT", "statusCode": "open", "eventRegion": "us-east-1", "eventDescription": [{ "language": "en_US", "latestDescription": "A description of the event will be provided here" }], "eventMetadata": { "keystring1": "valuestring1", "keystring2": "valuestring2", "keystring3": "valuestring3", "keystring4": "valuestring4", "truncated": "true" }, "affectedEntities": [{ "entityValue": "arn:aws:ec2:us-east-1:123456789012:instance/i-1234567890abcdef0", "lastUpdatedTime": "Thu, 26 Jan 2026 19:01:55 GMT", "status": "PENDING" }], "affectedAccount": "123456789012", "page": "1", "totalPages": "1", "backupEvent": "false", "personas": ["OPERATIONS"], "actionability": "ACTION_REQUIRED" } }

Account-specific Amazon Health 活动-Lambda 计划生命周期活动

{ "version": "0", "id": "7bf73129-1428-4cd3-a780-95db273d1602", "detail-type": "AWS Health Event", "source": "aws.health", "account": "123456789012", "time": "2023-01-27T01:43:21Z", "region": "us-west-2", "resources": ["arn:lambda-1-101002929", "arn:lambda-1-101002930", "arn:lambda-1-101002931", "arn:lambda-1-101002932"], "detail": { "eventArn": "arn:aws:health:us-west-2::event/AWS_LAMBDA_PLANNED_LIFECYCLE_EVENT_90353408594353980", "service": "LAMBDA", "eventTypeCode": "AWS_LAMBDA_PLANNED_LIFECYCLE_EVENT", "eventTypeCategory": "scheduledChange", "eventScopeCode": "ACCOUNT_SPECIFIC", "communicationId": "1234abc01232a4012345678-1", "startTime": "Thu, 27 Aug 2026 13:19:03 GMT", "lastUpdatedTime": "Thu, 27 Jan 2026 13:44:13 GMT", "statusCode": "open", "eventRegion": "us-west-2", "eventDescription": [{ "language": "en_US", "latestDescription": "A description of the event will be provided here" }], "eventMetadata": { "keystring1": "valuestring1", "keystring2": "valuestring2", "keystring3": "valuestring3", "keystring4": "valuestring4", "truncated": "true" }, "affectedEntities": [{ "entityValue": "arn:lambda-1-101002929", "lastUpdatedTime": "Thu, 26 Jan 2026 19:01:55 GMT", "status": "PENDING" }, { "entityValue": "arn:lambda-1-101002930", "lastUpdatedTime": "Thu, 26 Jan 2026 19:05:12 GMT", "status": "PENDING" }, { "entityValue": "arn:lambda-1-101002931", "lastUpdatedTime": "Thu, 26 Jan 2026 19:07:13 GMT", "status": "PENDING" }, { "entityValue": "arn:lambda-1-101002932", "lastUpdatedTime": "Thu, 26 Jan 2026 19:10:59 GMT", "status": "RESOLVED" }], "affectedAccount": "123456789012", "page": "1", "totalPages": "10", "backupEvent": "false", "personas": ["OPERATIONS"], "actionability": "ACTION_REQUIRED" } }