

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

# 参考： Amazon Health 事件 Amazon EventBridge 架构


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

## Amazon Health 事件架构



**Amazon Health 事件架构**  

| 参数 | 说明 | 必填 | 
| --- | --- | --- | 
| 版本 | EventBridge 版本，当前为 “0”。 | 是 | 
| id |  EventBridge 事件的唯一标识符。 | 是 | 
| detail-type | 详细信息的类型。对于 Amazon Health 事件，支持的值为&Amazon Health Event和 Amazon 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 事件架构中 det **a** il 参数的内容。


**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\$1EC2\$1INSTANCE\$1NETWORK\$1MAINTENANCE\$1SCHEDULED 和 AWS\$1EC2\$1INSTANCE\$1REBOOT\$1MAINTENANCE\$1SCHEDULED。包含 MAINTENANCE\$1SCHEDULED 的事件通常在开始时间之前约两周推送。 所有新的计划生命周期事件都具有事件类型 `AWS_{SERVICE}_PLANNED_LIFECYCLE_EVENT`。  | 是 | 
| eventTypeCategory | 事件的类别代码。支持的值包括 issue、accountNotification、investigation 和 scheduledChange。 | 是 | 
| eventScopeCode | 指明该 Amazon Health 事件是针对特定账户的还是公开的。支持的值为 ACCOUNT\$1SPECIFIC 或 PUBLIC。 | 是 | 
| communicationId |  此次 Amazon Health 活动通信的唯一标识符。 具有相同通信 ID 的消息可能是单个 Amazon Health 事件的备份消息或页面。此标识符可以与账户 ID 结合使用，有助于消除重复的消息。 在支持 Amazon Health 事件分页的情况下，通信 ID 包括页码，以保持通信 ID 在各个页面上的唯一性，例如 12345678910-1。有关更多信息，请参阅 [查看分页显示 Amazon Health 的事件列表 EventBridge](pagnation-of-health-events.md)。  | 是 | 
| startTime |  Amazon Health 事件的开始时间，格式为DoW, DD, MMM, YYYY, HH:MM:SS TZ。计划事件的开始时间可以是未来。  | 是 | 
| endTime |  Amazon Health 事件的结束时间，格式为：DoW, DD MMM YYYY HH:MM:SS TZ。无法为计划某个未来时间进行的事件提供结束时间。  | 否 | 
| lastUpdatedTime |  Amazon Health 事件的上次更新时间，格式为DoW, DD MMM YYYY HH:MM:SS TZ。 | 是 | 
| statusCode |   Amazon Health 事件的状态。 支持的值包括 `open`、`closed` 和 `upcoming`。  | 是 | 
| eventRegion | 此 Amazon Health 事件描述的受影响区域。 | 是 | 
| eventDescription |  描述该 Amazon Health 事件的部分。包括用于描述事件的语言和文本字段。 [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/health/latest/ug/aws-health-events-eventbridge-schema.html)  | 是 | 
| eventMetadata |  可以为 Amazon Health 事件提供的其他事件元数据。 [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/health/latest/ug/aws-health-events-eventbridge-schema.html)  | 否 | 
| affectedEntities |  描述 Amazon Health 事件中受影响资源的资源值和状态的数组。 [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/health/latest/ug/aws-health-events-eventbridge-schema.html)  | 否 | 
| page | 此消息所表示的页面。有关更多信息，请参阅 [查看分页显示 Amazon Health 的事件列表 EventBridge](pagnation-of-health-events.md)。 分页仅在资源上发生。如果由于其他原因超出 256KB 大小限制，则通信会失败。  | 是 | 
| totalPages | 此运行状况事件的总页数。有关更多信息，请参阅 [查看分页显示 Amazon Health 的事件列表 EventBridge](pagnation-of-health-events.md)。 您可以通过该值来确定是否收到某个账户多页通信的所有页面。  | 是 | 
| backupEvent | 如果客户不想利用冗余，则此标记会过滤掉分区内指定备份区域中的备份事件。这个值可以是真也可以是假。 | 是 | 
| affectedAccount | 受影响账户的账户 ID。 如果将此运行状况事件发送到属于的账户， Amazon Organizations 并且在管理账户或委托管理员账户中接收，则该值可能与`account`字段中的值不同。  | 是 | 
| 可操作性 | 元数据，用于激活编程确定哪些事件需要采取行动，而无需手动检查。可能的（单个）值可以是ACTION\$1REQUIREDACTION\$1MAY\$1BE\$1REQUIRED、或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"]
    }
}
```

## 账户特定 Amazon Health 事件-Elastic Load Balancing 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"]
    }
}
```

## 账户特定 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"]
    }
}
```

## 账户特定 Amazon Health 事件-Amazon 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"
    }
}
```

## 账户特定 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"
    }
}
```