Help Center/ Config/ User Guide/ Appendix/ Notification Models/ Resource Relationship Change Notification Model
Updated on 2025-01-20 GMT+08:00

Resource Relationship Change Notification Model

Resource Relationship Change Notification Model

Table 1 Parameters of the resource relationship change notification model

Parameters

Type

Description

notification_type

String

The type of a notification. For a resource relationship change notification, the notification type is ResourceRelationChanged.

notification_creation_time

String

The time when the message was sent.

The notification creation time is a UTC time (such as 2018-11-14T08:59:14Z) that complies with ISO8601.

domain_id

String

Account ID.

detail

Object

Notification details.

Table 2 detail

Parameter

Type

Description

resource_id

String

Resource ID.

resource_type

String

Resource type.

event_type

Enum

Event type (CHANGE).

capture_time

String

The event capture time.

The event capture time is a UTC time (such as 2018-11-14T08:59:14Z) that complies with ISO8601.

from_resource_id

String

Original resource ID (displayed only when there was an original resource)

from_resource_type

String

Original resource type (displayed only when there was an original resource)

relation_type

String

Resource relationship (displayed only when there was an original resource)

Notification Example of Resource Relationship Changes

{
  "detail" : {
    "resource_id" : "675d78fd****377b067be0531",
    "resource_type" : "config.policyAssignments",
    "event_type" : "CHANGE",
    "capture_time" : "2024-12-14T12:31:59.201Z",
    "from_resource_id" : "e336ffcfc2ab****4bf892423739c7125",
    "from_resource_type" : "config.conformancePacks",
    "relation_type" : "isContainedIn"
  },
  "notification_type" : "ResourceRelationChanged",
  "notification_creation_time" : "2024-12-14T12:31:59.404Z",
  "domain_id" : "017f09bdc0194******80082147f41a8"
}