

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

# GuardDuty 服务账号由 AWS 区域
<a name="gdu-service-account-region-list"></a>

创建快照并与 GuardDuty 服务帐号共享时，会在您的 CloudTrail 日志中创建一个新事件。此事件指定了相应的`snapshotId`和`userId`（该事件的GuardDuty 服务帐号 AWS 区域）。有关更多信息，请参阅 [如何 GuardDuty 扫描 EBS 卷以进行恶意软件检测](guardduty_malware_protection-ebs-volume-data.md)。

以下示例是显示请求正文 CloudTrail 的事件片段：`ModifySnapshotAttribute`

```
"requestParameters": {
        "snapshotId": "snap-1234567890abcdef0",
        "createVolumePermission": {
            "add": {
                "items": [
                    {
                        "userId": "111122223333"
                    }
                ]
            }
        },
        "attributeType": "CREATE_VOLUME_PERMISSION"
    }
```

下表显示了每个地区的 GuardDuty 服务账号。`userId`是 GuardDuty 服务帐号，取决于所选区域。


| AWS 区域 | 区域代码 | GuardDuty 服务帐号 ID (`userId`) | 
| --- | --- | --- | 
|  美国东部（弗吉尼亚州北部）  |  us-east-1  |  652050842985  | 
|  美国东部（俄亥俄州）  |  us-east-2  |  17812396868615  | 
|  美国西部（北加利福尼亚）  |  us-west-1  |  669213148797  | 
|  美国西部（俄勒冈州）  |  us-west-2  |  447226417196  | 
|  亚太地区（孟买）  |  ap-south-1  |  913179291432  | 
|  亚太地区（大阪）  |  ap-northeast-3  |  089661699081  | 
|  亚太地区（首尔）  |  ap-northeast-2  |  039163547507  | 
|  亚太地区（东京）  |  ap-northeast-1  |  874749492622  | 
|  亚太地区（新加坡）  |  ap-southeast-1  |  247460962669  | 
|  亚太地区（悉尼）  |  ap-southeast-2  |  124839743349  | 
|  加拿大（中部）  |  ca-central-1  |  175877067165  | 
|  加拿大西部（卡尔加里）  |  ca-west-1  |  894794104037  | 
|  欧洲地区（法兰克福）  |  eu-central-1  |  002294850712  | 
|  欧洲地区（爱尔兰）  |  eu-west-1  |  283769539786  | 
|  欧洲地区（伦敦）  |  eu-west-2  |  310125036783  | 
|  欧洲地区（巴黎）  |  eu-west-3  |  866607715269  | 
|  欧洲地区（斯德哥尔摩）  |  eu-north-1  |  693780578038  | 
|  中国（北京）  |  cn-north-1  |  448721096076  | 
|  中国（宁夏）  |  cn-northwest-1  |  480864352451  | 
|  南美洲（圣保罗）  |  sa-east-1  |  546914126324  | 
|  亚太地区（海得拉巴）（选择加入）  |  ap-south-2  |  682251015962  | 
|  亚太地区（墨尔本）（选择加入）  |  ap-southeast-4  |  353488359550  | 
|  亚太地区（马来西亚）（选择加入）  |  ap-southeast-5  |  009160069308  | 
|  亚太地区（泰国）（选择加入）  |  ap-southeast-7  |  941377115582  | 
|  欧洲（西班牙）（选择加入）  |  eu-south-2  |  936182149045  | 
|  欧洲（苏黎世）（选择加入）  |  eu-central-2  |  867642063380  | 
|  以色列（特拉维夫）（选择加入）  |  il-central-1  |  619233833001  | 
|  欧洲地区（米兰）（选择加入）  |  eu-south-1  |  977238331021  | 
|  亚太地区（香港）（选择加入）  |  ap-east-1  |  249472122084  | 
|  中东（巴林）（选择加入）  |  me-south-1  |  404001805210  | 
|  非洲（开普敦）（选择加入）  |  af-south-1  |  9576664736811  | 
|  亚太地区（雅加达）（选择加入）  |  ap-southeast-3  |  452118225523  | 
|  中东（阿联酋）（选择加入）  |  me-central-1  |  828603743433  | 
|  墨西哥（中部）（选择加入）  |  mx-central-1  |  557690616787  | 
|  亚太地区（台北）  |  ap-east-2  |  863518437308  | 
|  亚太地区（新西兰）  |  ap-southeast-6  |  686255982852  | 
|  AWS GovCloud （美国东部）  |  us-gov-east-1  |  226283551151  | 
|  AWS GovCloud （美国西部）  |  us-gov-west-1  |  226300430612  | 