本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
的生命週期事件採用下列一般格式的 JSON
{
"version": "0",
"id": "08f00e24-2e30-ec44-b824-8acddf1ac868",
"detail-type": "ResourceGroups Group ... Change",
"source": "aws.resource-groups",
"account": "123456789012",
"time": "2020-09-29T09:59:01Z",
"region": "us-east-1",
"resources": [
"arn:aws:resource-groups:us-east-1:123456789012:group/MyGroupName"
],
"detail": {
...
}
}
如需所有 Amazon EventBridge 事件通用欄位的詳細資訊,請參閱《Amazon EventBridge 使用者指南》中的 Amazon EventBridge 事件。下表說明資源群組特有的詳細資訊。
欄位名稱 | Type | 描述 |
---|---|---|
detail-type |
字串 |
對於資源群組,
|
source |
字串 | 對於資源群組,此值一律為 "aws.resource-groups" 。 |
resources |
Amazon Resource Name (ARNs) 陣列 |
此欄位一律包含群組的 Amazon 資源名稱 (ARN),以及觸發此事件的變更。 如果適用,此欄位也可以包含從群組新增或移除的任何資源ARNs。 |
|
JSON 物件字串 | 這是事件的承載。detail 欄位的內容會根據 的值而有所不同detail-type 。如需詳細資訊,請參閱下一節。 |