This topic describes the event types that Resource Orchestration Service publishes to EventBridge as an event source.
Event types
Resource Orchestration Service publishes the following event types to EventBridge.
Event type | Value of the type parameter |
ros:StackStateChange:CheckComplete | |
ros:StackStateChange:CheckFailed | |
ros:StackStateChange:CreateComplete | |
ros:StackStateChange:CreateFailed | |
ros:StackStateChange:CreateRollbackComplete | |
ros:StackStateChange:CreateRollbackFailed | |
ros:StackStateChange:DeleteComplete | |
ros:StackStateChange:DeleteFailed | |
ros:StackStateChange:ImportCreateComplete | |
ros:StackStateChange:ImportCreateFailed | |
ros:StackStateChange:ImportCreateRollbackComplete | |
ros:StackStateChange:ImportCreateRollbackFailed | |
ros:StackStateChange:ImportUpdateComplete | |
ros:StackStateChange:ImportUpdateFailed | |
ros:StackStateChange:ImportUpdateRollbackComplete | |
ros:StackStateChange:ImportUpdateRollbackFailed | |
ros:StackStateChange:RollbackComplete | |
ros:StackStateChange:RollbackFailed | |
ros:StackStateChange:UpdateComplete | |
ros:StackStateChange:UpdateFailed | |
ros:Stack:StatusChange | |
Events for operations that are performed on resources by the Alibaba Cloud platform | ros:ActionTrail:AliyunServiceEvent |
API call | ros:ActionTrail:ApiCall |
Console operation event | ros:ActionTrail:ConsoleOperation |
Stack group operation status change | ros:CloudMonitor:StackGroup[OperationStatusChange] |
Stack resource status change | ros:CloudMonitor:StackResource[StatusChange] |
Stack status change | ros:CloudMonitor:Stack[StatusChange] |
Resource change delivery | ros:Config:ConfigurationItemChangeNotification |
Notification for non-compliant resource evaluation | ros:Config:NonCompliantNotification |
For more information about the parameters defined in the CloudEvents specification, see Event overview.
Stack check completed
When a stack check is complete, EventBridge receives an event similar to the following example.
{
"id":"5f39a410-0477-4e9f-bba6-538d726d****",
"source":"acs.ros",
"specversion":"1.0",
"type":"ros:StackStateChange:CheckComplete",
"datacontenttype":"application/json; charset=utf-8",
"subject":"acs:ros:cn-hangzhou:123456789098****:stack/b33a8fa5-0ba8-43cf-8036-0bd3339e****",
"time":"2020-12-31T09:46:10Z",
"data":{
"Status":"CHECK_COMPLETE",
"Outputs":[
],
"StackName":"test-stack",
"StackId":"b33a8fa5-0ba8-43cf-8036-0bd3339e****"
},
"aliyunaccountid":"123456789098****",
"aliyuneventbusname":"default",
"aliyunpublishtime":"2020-12-31T17:46:10.813Asia/Shanghai",
"aliyunregionid":"cn-hangzhou",
"aliyunpublishaddr":"172.25.XX.XX"
}The following table describes the parameters in the data field.
Parameter | Type | Example | Description |
Status | String | CHECK_COMPLETE | The status of the stack. |
Outputs | Struct | None | The outputs of the stack. |
StackName | String | test-stack | The name of the stack. |
StackId | String | b33a8fa5-0ba8-43cf-8036-0bd3339e**** | The ID of the stack. |
Stack check failed
When a stack check fails, EventBridge receives an event similar to the following example.
{
"id":"5f39a410-0477-4e9f-bba6-538d726d****",
"source":"acs.ros",
"specversion":"1.0",
"type":"ros:StackStateChange:CheckFailed",
"datacontenttype":"application/json; charset=utf-8",
"subject":"acs:ros:cn-hangzhou:123456789098****:stack/b33a8fa5-0ba8-43cf-8036-0bd3339e****",
"time":"2020-12-31T09:46:10Z",
"data":{
"Status":"CHECK_FAILED",
"Outputs":[
],
"StackName":"test-stack",
"StackId":"b33a8fa5-0ba8-43cf-8036-0bd3339e****"
},
"aliyunaccountid":"123456789098****",
"aliyuneventbusname":"default",
"aliyunpublishtime":"2020-12-31T17:46:10.813Asia/Shanghai",
"aliyunregionid":"cn-hangzhou",
"aliyunpublishaddr":"172.25.XX.XX"
}The following table describes the parameters in the data field.
Parameter | Type | Example | Description |
Status | String | CHECK_FAILED | The status of the stack. |
Outputs | Struct | None | The outputs of the stack. |
StackName | String | test-stack | The name of the stack. |
StackId | String | b33a8fa5-0ba8-43cf-8036-0bd3339e**** | The ID of the stack. |
Stack creation completed
When stack creation is complete, EventBridge receives an event similar to the following example.
{
"id":"5f39a410-0477-4e9f-bba6-538d726d****",
"source":"acs.ros",
"specversion":"1.0",
"type":"ros:StackStateChange:CreateComplete",
"datacontenttype":"application/json; charset=utf-8",
"subject":"acs:ros:cn-hangzhou:123456789098****:stack/b33a8fa5-0ba8-43cf-8036-0bd3339e****",
"time":"2020-12-31T09:46:10Z",
"data":{
"Status":"CREATE_COMPLETE",
"Outputs":[
],
"StackName":"test-stack",
"StackId":"b33a8fa5-0ba8-43cf-8036-0bd3339e****"
},
"aliyunaccountid":"123456789098****",
"aliyuneventbusname":"default",
"aliyunpublishtime":"2020-12-31T17:46:10.813Asia/Shanghai",
"aliyunregionid":"cn-hangzhou",
"aliyunpublishaddr":"172.25.XX.XX"
}The following table describes the parameters in the data field.
Parameter | Type | Example | Description |
Status | String | CREATE_COMPLETE | The status of the stack. |
Outputs | Struct | None | The outputs of the stack. |
StackName | String | test-stack | The name of the stack. |
StackId | String | b33a8fa5-0ba8-43cf-8036-0bd3339e**** | The ID of the stack. |
Stack creation failed
When stack creation fails, EventBridge receives an event similar to the following example.
{
"id":"5f39a410-0477-4e9f-bba6-538d726d****",
"source":"acs.ros",
"specversion":"1.0",
"type":"ros:StackStateChange:CreateFailed",
"datacontenttype":"application/json; charset=utf-8",
"subject":"acs:ros:cn-hangzhou:123456789098****:stack/b33a8fa5-0ba8-43cf-8036-0bd3339e****",
"time":"2020-12-31T09:46:10Z",
"data":{
"Status":"CREATE_FAILED",
"Outputs":[
],
"StackName":"test-stack",
"StackId":"b33a8fa5-0ba8-43cf-8036-0bd3339e****"
},
"aliyunaccountid":"123456789098****",
"aliyuneventbusname":"default",
"aliyunpublishtime":"2020-12-31T17:46:10.813Asia/Shanghai",
"aliyunregionid":"cn-hangzhou",
"aliyunpublishaddr":"172.25.XX.XX"
}The following table describes the parameters in the data field.
Parameter | Type | Example | Description |
Status | String | CREATE_FAILED | The status of the stack. |
Outputs | Struct | None | The outputs of the stack. |
StackName | String | test-stack | The name of the stack. |
StackId | String | b33a8fa5-0ba8-43cf-8036-0bd3339e**** | The ID of the stack. |
Stack creation rollback completed
When a stack creation rollback is complete, EventBridge receives an event similar to the following example.
{
"id":"5f39a410-0477-4e9f-bba6-538d726d****",
"source":"acs.ros",
"specversion":"1.0",
"type":"ros:StackStateChange:CreateRollbackComplete",
"datacontenttype":"application/json; charset=utf-8",
"subject":"acs:ros:cn-hangzhou:123456789098****:stack/b33a8fa5-0ba8-43cf-8036-0bd3339e****",
"time":"2020-12-31T09:46:10Z",
"data":{
"Status":"CREATE_ROLLBACK_COMPLETE",
"Outputs":[
],
"StackName":"test-stack",
"StackId":"b33a8fa5-0ba8-43cf-8036-0bd3339e****"
},
"aliyunaccountid":"123456789098****",
"aliyuneventbusname":"default",
"aliyunpublishtime":"2020-12-31T17:46:10.813Asia/Shanghai",
"aliyunregionid":"cn-hangzhou",
"aliyunpublishaddr":"172.25.XX.XX"
}The following table describes the parameters in the data field.
Parameter | Type | Example value | Description |
Status | String | CREATE_ROLLBACK_COMPLETE | The status of the stack. |
Outputs | Struct | None | The outputs of the stack. |
StackName | String | test-stack | The name of the stack. |
StackId | String | b33a8fa5-0ba8-43cf-8036-0bd3339e**** | The ID of the stack. |
Stack creation rollback failed
When a stack creation rollback fails, EventBridge receives an event similar to the following example.
{
"id":"5f39a410-0477-4e9f-bba6-538d726d****",
"source":"acs.ros",
"specversion":"1.0",
"type":"ros:StackStateChange:CreateRollbackFailed",
"datacontenttype":"application/json; charset=utf-8",
"subject":"acs:ros:cn-hangzhou:123456789098****:stack/b33a8fa5-0ba8-43cf-8036-0bd3339e****",
"time":"2020-12-31T09:46:10Z",
"data":{
"Status":"CREATE_ROLLBACK_FAILED",
"Outputs":[
],
"StackName":"test-stack",
"StackId":"b33a8fa5-0ba8-43cf-8036-0bd3339e****"
},
"aliyunaccountid":"123456789098****",
"aliyuneventbusname":"default",
"aliyunpublishtime":"2020-12-31T17:46:10.813Asia/Shanghai",
"aliyunregionid":"cn-hangzhou",
"aliyunpublishaddr":"172.25.XX.XX"
}The following table describes the parameters in the data field.
Parameter | Type | Example | Description |
Status | String | CREATE_ROLLBACK_FAILED | The status of the stack. |
Outputs | Struct | None | The outputs of the stack. |
StackName | String | test-stack | The name of the stack. |
StackId | String | b33a8fa5-0ba8-43cf-8036-0bd3339e**** | The ID of the stack. |
Stack deletion completed
When stack deletion is complete, EventBridge receives an event similar to the following example.
{
"id":"5c6a640d-75d3-432d-8409-89b23763****",
"source":"acs.ros",
"specversion":"1.0",
"type":"ros:StackStateChange:DeleteComplete",
"datacontenttype":"application/json; charset=utf-8",
"subject":"acs:ros:cn-hangzhou:123456789098****:stack/47560378-1287-404d-bf2e-26b4b641****",
"time":"2021-01-04T12:35:19Z",
"data":{
"StackId":"47560378-1287-404d-bf2e-26b4b641****",
"StackName":"test-stack",
"Outputs":[
],
"Status":"DELETE_COMPLETE"
},
"aliyunaccountid":"123456789098****",
"aliyuneventbusname":"default",
"aliyunpublishtime":"2021-01-04T20:35:19.75Asia/Shanghai",
"aliyunregionid":"cn-hangzhou",
"aliyunpublishaddr":"172.25.XX.XX"
}The following table describes the parameters in the data field.
Parameter | Type | Example | Description |
Status | String | DELETE_COMPLETE | The status of the stack. |
Outputs | Struct | None | The outputs of the stack. |
StackName | String | test-stack | The name of the stack. |
StackId | String | 47560378-1287-404d-bf2e-26b4b641**** | The ID of the stack. |
Stack deletion failed
When stack deletion fails, EventBridge receives an event similar to the following example.
{
"id":"5c6a640d-75d3-432d-8409-89b23763****",
"source":"acs.ros",
"specversion":"1.0",
"type":"ros:StackStateChange:DeleteFailed",
"datacontenttype":"application/json; charset=utf-8",
"subject":"acs:ros:cn-hangzhou:123456789098****:stack/47560378-1287-404d-bf2e-26b4b641****",
"time":"2021-01-04T12:35:19Z",
"data":{
"StackId":"47560378-1287-404d-bf2e-26b4b641****",
"StackName":"test-stack",
"Outputs":[
],
"Status":"DELETE_FAILED"
},
"aliyunaccountid":"123456789098****",
"aliyuneventbusname":"default",
"aliyunpublishtime":"2021-01-04T20:35:19.75Asia/Shanghai",
"aliyunregionid":"cn-hangzhou",
"aliyunpublishaddr":"172.25.XX.XX"
}The following table describes the parameters in the data field.
Parameter | Type | Example | Description |
Status | String | DELETE_FAILED | The status of the stack. |
Outputs | Struct | None | The outputs of the stack. |
StackName | String | test-stack | The name of the stack. |
StackId | String | 47560378-1287-404d-bf2e-26b4b641**** | The ID of the stack. |
Stack import creation completed
When a stack is created through import, EventBridge receives an event similar to the following example.
{
"id":"5c6a640d-75d3-432d-8409-89b23763****",
"source":"acs.ros",
"specversion":"1.0",
"type":"ros:StackStateChange:ImportCreateComplete",
"datacontenttype":"application/json; charset=utf-8",
"subject":"acs:ros:cn-hangzhou:123456789098****:stack/47560378-1287-404d-bf2e-26b4b641****",
"time":"2021-01-04T12:35:19Z",
"data":{
"StackId":"47560378-1287-404d-bf2e-26b4b641****",
"StackName":"test-stack",
"Outputs":[
],
"Status":"IMPORT_CREATE_COMPLETE"
},
"aliyunaccountid":"123456789098****",
"aliyuneventbusname":"default",
"aliyunpublishtime":"2021-01-04T20:35:19.75Asia/Shanghai",
"aliyunregionid":"cn-hangzhou",
"aliyunpublishaddr":"172.25.XX.XX"
}The following table describes the parameters in the data field.
Parameter | Type | Example | Description |
Status | String | IMPORT_CREATE_COMPLETE | The status of the stack. |
Outputs | Struct | None | The outputs of the stack. |
StackName | String | test-stack | The name of the stack. |
StackId | String | 47560378-1287-404d-bf2e-26b4b641**** | The ID of the stack. |
Stack import creation failed
When a stack fails to be created through import, EventBridge receives an event similar to the following example.
{
"id":"5c6a640d-75d3-432d-8409-89b23763****",
"source":"acs.ros",
"specversion":"1.0",
"type":"ros:StackStateChange:ImportCreateFailed",
"datacontenttype":"application/json; charset=utf-8",
"subject":"acs:ros:cn-hangzhou:123456789098****:stack/47560378-1287-404d-bf2e-26b4b641****",
"time":"2021-01-04T12:35:19Z",
"data":{
"StackId":"47560378-1287-404d-bf2e-26b4b641****",
"StackName":"test-stack",
"Outputs":[
],
"Status":"IMPORT_CREATE_FAILED"
},
"aliyunaccountid":"123456789098****",
"aliyuneventbusname":"default",
"aliyunpublishtime":"2021-01-04T20:35:19.75Asia/Shanghai",
"aliyunregionid":"cn-hangzhou",
"aliyunpublishaddr":"172.25.XX.XX"
}The following table describes the parameters in the data field.
Parameter | Type | Example | Description |
Status | String | IMPORT_CREATE_FAILED | The status of the stack. |
Outputs | Struct | None | The outputs of the stack. |
StackName | String | test-stack | The name of the stack. |
StackId | String | 47560378-1287-404d-bf2e-26b4b641**** | The ID of the stack. |
Stack import creation rollback completed
When the rollback of a stack creation through import is complete, EventBridge receives an event similar to the following example.
{
"id":"5c6a640d-75d3-432d-8409-89b23763****",
"source":"acs.ros",
"specversion":"1.0",
"type":"ros:StackStateChange:ImportCreateRollbackComplete",
"datacontenttype":"application/json; charset=utf-8",
"subject":"acs:ros:cn-hangzhou:123456789098****:stack/47560378-1287-404d-bf2e-26b4b641****",
"time":"2021-01-04T12:35:19Z",
"data":{
"StackId":"47560378-1287-404d-bf2e-26b4b641****",
"StackName":"test-stack",
"Outputs":[
],
"Status":"IMPORT_CREATE_ROLLBACK_COMPLETE"
},
"aliyunaccountid":"123456789098****",
"aliyuneventbusname":"default",
"aliyunpublishtime":"2021-01-04T20:35:19.75Asia/Shanghai",
"aliyunregionid":"cn-hangzhou",
"aliyunpublishaddr":"172.25.XX.XX"
}The following table describes the parameters in the data field.
Parameter | Type | Example | Description |
Status | String | IMPORT_CREATE_ROLLBACK_COMPLETE | The status of the stack. |
Outputs | Struct | None | The outputs of the stack. |
StackName | String | test-stack | The name of the stack. |
StackId | String | 47560378-1287-404d-bf2e-26b4b641**** | The ID of the stack. |
Stack import creation rollback failed
When the rollback of a stack creation through import fails, EventBridge receives an event similar to the following example.
{
"id":"5c6a640d-75d3-432d-8409-89b23763****",
"source":"acs.ros",
"specversion":"1.0",
"type":"ros:StackStateChange:ImportCreateRollbackFailed",
"datacontenttype":"application/json; charset=utf-8",
"subject":"acs:ros:cn-hangzhou:123456789098****:stack/47560378-1287-404d-bf2e-26b4b641****",
"time":"2021-01-04T12:35:19Z",
"data":{
"StackId":"47560378-1287-404d-bf2e-26b4b641****",
"StackName":"test-stack",
"Outputs":[
],
"Status":"IMPORT_CREATE_ROLLBACK_FAILED"
},
"aliyunaccountid":"123456789098****",
"aliyuneventbusname":"default",
"aliyunpublishtime":"2021-01-04T20:35:19.75Asia/Shanghai",
"aliyunregionid":"cn-hangzhou",
"aliyunpublishaddr":"172.25.XX.XX"
}The following table describes the parameters in the data field.
Parameter | Type | Sample value | Description |
Status | String | IMPORT_CREATE_ROLLBACK_FAILED | The status of the stack. |
Outputs | Struct | None | The outputs of the stack. |
StackName | String | test-stack | The name of the stack. |
StackId | String | 47560378-1287-404d-bf2e-26b4b641**** | The ID of the stack. |
Stack import update completed
When a stack is updated through import, EventBridge receives an event similar to the following example.
{
"id":"5c6a640d-75d3-432d-8409-89b23763****",
"source":"acs.ros",
"specversion":"1.0",
"type":"ros:StackStateChange:ImportUpdateComplete",
"datacontenttype":"application/json; charset=utf-8",
"subject":"acs:ros:cn-hangzhou:123456789098****:stack/47560378-1287-404d-bf2e-26b4b641****",
"time":"2021-01-04T12:35:19Z",
"data":{
"StackId":"47560378-1287-404d-bf2e-26b4b641****",
"StackName":"test-stack",
"Outputs":[
],
"Status":"IMPORT_UPDATE_COMPLETE"
},
"aliyunaccountid":"123456789098****",
"aliyuneventbusname":"default",
"aliyunpublishtime":"2021-01-04T20:35:19.75Asia/Shanghai",
"aliyunregionid":"cn-hangzhou",
"aliyunpublishaddr":"172.25.XX.XX"
}The following table describes the parameters in the data field.
Parameter | Type | Example | Description |
Status | String | IMPORT_UPDATE_COMPLETE | The status of the stack. |
Outputs | Struct | None | The outputs of the stack. |
StackName | String | test-stack | The name of the stack. |
StackId | String | 47560378-1287-404d-bf2e-26b4b641**** | The ID of the stack. |
Stack import update failed
When a stack fails to be updated through import, EventBridge receives an event similar to the following example.
{
"id":"5c6a640d-75d3-432d-8409-89b23763****",
"source":"acs.ros",
"specversion":"1.0",
"type":"ros:StackStateChange:ImportUpdateFailed",
"datacontenttype":"application/json; charset=utf-8",
"subject":"acs:ros:cn-hangzhou:123456789098****:stack/47560378-1287-404d-bf2e-26b4b641****",
"time":"2021-01-04T12:35:19Z",
"data":{
"StackId":"47560378-1287-404d-bf2e-26b4b641****",
"StackName":"test-stack",
"Outputs":[
],
"Status":"IMPORT_UPDATE_FAILED"
},
"aliyunaccountid":"123456789098****",
"aliyuneventbusname":"default",
"aliyunpublishtime":"2021-01-04T20:35:19.75Asia/Shanghai",
"aliyunregionid":"cn-hangzhou",
"aliyunpublishaddr":"172.25.XX.XX"
}The following table describes the parameters in the data field.
Parameter | Type | Example | Description |
Status | String | IMPORT_UPDATE_FAILED | The status of the stack. |
Outputs | Struct | None | The outputs of the stack. |
StackName | String | test-stack | The name of the stack. |
StackId | String | 47560378-1287-404d-bf2e-26b4b641**** | The ID of the stack. |
Stack import update rollback completed
When the rollback of a stack update through import is complete, EventBridge receives an event similar to the following example.
{
"id":"5c6a640d-75d3-432d-8409-89b23763****",
"source":"acs.ros",
"specversion":"1.0",
"type":"ros:StackStateChange:ImportUpdateRollbackComplete",
"datacontenttype":"application/json; charset=utf-8",
"subject":"acs:ros:cn-hangzhou:123456789098****:stack/47560378-1287-404d-bf2e-26b4b641****",
"time":"2021-01-04T12:35:19Z",
"data":{
"StackId":"47560378-1287-404d-bf2e-26b4b641****",
"StackName":"test-stack",
"Outputs":[
],
"Status":"IMPORT_UPDATE_ROLLBACK_COMPLETE"
},
"aliyunaccountid":"123456789098****",
"aliyuneventbusname":"default",
"aliyunpublishtime":"2021-01-04T20:35:19.75Asia/Shanghai",
"aliyunregionid":"cn-hangzhou",
"aliyunpublishaddr":"172.25.XX.XX"
}The following table describes the parameters in the data field.
Parameter | Type | Example | Description |
Status | String | IMPORT_UPDATE_ROLLBACK_COMPLETE | The status of the stack. |
Outputs | Struct | None | The outputs of the stack. |
StackName | String | test-stack | The name of the stack. |
StackId | String | 47560378-1287-404d-bf2e-26b4b641**** | The ID of the stack. |
Stack import update rollback failed
When the rollback of a stack update through import fails, EventBridge receives an event similar to the following example.
{
"id":"5c6a640d-75d3-432d-8409-89b23763****",
"source":"acs.ros",
"specversion":"1.0",
"type":"ros:StackStateChange:ImportUpdateRollbackFailed",
"datacontenttype":"application/json; charset=utf-8",
"subject":"acs:ros:cn-hangzhou:123456789098****:stack/47560378-1287-404d-bf2e-26b4b641****",
"time":"2021-01-04T12:35:19Z",
"data":{
"StackId":"47560378-1287-404d-bf2e-26b4b641****",
"StackName":"test-stack",
"Outputs":[
],
"Status":"IMPORT_UPDATE_ROLLBACK_FAILED"
},
"aliyunaccountid":"123456789098****",
"aliyuneventbusname":"default",
"aliyunpublishtime":"2021-01-04T20:35:19.75Asia/Shanghai",
"aliyunregionid":"cn-hangzhou",
"aliyunpublishaddr":"172.25.XX.XX"
}The following table describes the parameters in the data field.
Parameter | Type | Example | Description |
Status | String | IMPORT_UPDATE_ROLLBACK_FAILED | The status of the stack. |
Outputs | Struct | None | The outputs of the stack. |
StackName | String | test-stack | The name of the stack. |
StackId | String | 47560378-1287-404d-bf2e-26b4b641**** | The ID of the stack. |
Stack rollback completed
When a stack rollback is complete, EventBridge receives an event similar to the following example.
{
"id":"e9bd42ea-5fb1-4be6-8168-60b8d3ef****",
"source":"acs.ros",
"specversion":"1.0",
"type":"ros:StackStateChange:RollbackComplete",
"datacontenttype":"application/json; charset=utf-8",
"subject":"acs:ros:cn-hangzhou:123456789098****:stack/b33a8fa5-0ba8-43cf-8036-0bd3339e****",
"time":"2021-01-05T09:21:23Z",
"data":{
"StackId":"b33a8fa5-0ba8-43cf-8036-0bd3339e****",
"StackName":"test-stack",
"Outputs":[
],
"Status":"ROLLBACK_COMPLETE"
},
"aliyunaccountid":"123456789098****",
"aliyuneventbusname":"default",
"aliyunpublishtime":"2021-01-05T17:21:23.632Asia/Shanghai",
"aliyunregionid":"cn-hangzhou",
"aliyunpublishaddr":"172.25.XX.XX"
}The following table describes the parameters in the data field.
Parameter | Type | Example | Description |
Status | String | ROLLBACK_COMPLETE | The status of the stack. |
Outputs | Struct | None | The outputs of the stack. |
StackName | String | test-stack | The name of the stack. |
StackId | String | b33a8fa5-0ba8-43cf-8036-0bd3339e**** | The ID of the stack. |
Stack rollback failed
When a stack rollback fails, EventBridge receives an event similar to the following example.
{
"id":"e9bd42ea-5fb1-4be6-8168-60b8d3ef****",
"source":"acs.ros",
"specversion":"1.0",
"type":"ros:StackStateChange:RollbackFailed",
"datacontenttype":"application/json; charset=utf-8",
"subject":"acs:ros:cn-hangzhou:123456789098****:stack/b33a8fa5-0ba8-43cf-8036-0bd3339e****",
"time":"2021-01-05T09:21:23Z",
"data":{
"StackId":"b33a8fa5-0ba8-43cf-8036-0bd3339e****",
"StackName":"test-stack",
"Outputs":[
],
"Status":"ROLLBACK_FAILED"
},
"aliyunaccountid":"123456789098****",
"aliyuneventbusname":"default",
"aliyunpublishtime":"2021-01-05T17:21:23.632Asia/Shanghai",
"aliyunregionid":"cn-hangzhou",
"aliyunpublishaddr":"172.25.XX.XX"
}The following table describes the parameters in the data field.
Parameter | Type | Example | Description |
Status | String | ROLLBACK_FAILED | The status of the stack. |
Outputs | Struct | None | The outputs of the stack. |
StackName | String | test-stack | The name of the stack. |
StackId | String | b33a8fa5-0ba8-43cf-8036-0bd3339e**** | The ID of the stack. |
Stack update completed
When a stack update is complete, EventBridge receives an event similar to the following example.
{
"id":"238dbcdc-5b6b-450c-b95c-1142020e****",
"source":"acs.ros",
"specversion":"1.0",
"type":"ros:StackStateChange:UpdateComplete",
"datacontenttype":"application/json; charset=utf-8",
"subject":"acs:ros:cn-hangzhou:123456789098****:stack/b0bb2844-da77-4ceb-afe9-7dd6a97d****",
"time":"2021-01-05T09:56:54Z",
"data":{
"Status":"UPDATE_COMPLETE",
"Outputs":[
{
"Description":"No description given",
"OutputKey":"VpcId",
"OutputValue":"vpc-bp1hbjc1vugq7ubod****"
}
],
"StackName":"test-stack",
"StackId":"b0bb2844-da77-4ceb-afe9-7dd6a97d****"
},
"aliyunaccountid":"123456789098****",
"aliyuneventbusname":"default",
"aliyunpublishtime":"2021-01-05T17:56:54.875Asia/Shanghai",
"aliyunregionid":"cn-hangzhou",
"aliyunpublishaddr":"172.25.XX.XX"
}The following table describes the parameters in the data field.
Parameter | Type | Example | Description |
Status | String | ROLLBACK_COMPLETE | The status of the stack. |
Outputs | Struct | The outputs of the stack. | |
Description | String | No description given | The description of the output parameter. |
OutputKey | String | VpcId | The name of the output parameter. |
OutputValue | String | vpc-bp1hbjc1vugq7ubod**** | The value of the output parameter. |
StackName | String | test-stack | The name of the stack. |
StackId | String | b0bb2844-da77-4ceb-afe9-7dd6a97d**** | The ID of the stack. |
Stack update failed
When a stack update fails, EventBridge receives an event similar to the following example.
{
"id":"238dbcdc-5b6b-450c-b95c-1142020e****",
"source":"acs.ros",
"specversion":"1.0",
"type":"ros:StackStateChange:UpdateFailed",
"datacontenttype":"application/json; charset=utf-8",
"subject":"acs:ros:cn-hangzhou:123456789098****:stack/b0bb2844-da77-4ceb-afe9-7dd6a97d****",
"time":"2021-01-05T09:56:54Z",
"data":{
"Status":"UPDATE_FAILED",
"Outputs":[
{
"Description":"No description given",
"OutputKey":"VpcId",
"OutputValue":"vpc-bp1hbjc1vugq7ubod****"
}
],
"StackName":"test-stack",
"StackId":"b0bb2844-da77-4ceb-afe9-7dd6a97d****"
},
"aliyunaccountid":"123456789098****",
"aliyuneventbusname":"default",
"aliyunpublishtime":"2021-01-05T17:56:54.875Asia/Shanghai",
"aliyunregionid":"cn-hangzhou",
"aliyunpublishaddr":"172.25.XX.XX"
}The following table describes the parameters in the data field.
Parameter | Type | Example | Description |
Status | String | UPDATE_FAILED | The status of the stack. |
Outputs | Struct | The outputs of the stack. | |
Description | String | No description given | The description of the output parameter. |
OutputKey | String | VpcId | The name of the output parameter. |
OutputValue | String | vpc-bp1hbjc1vugq7ubod**** | The value of the output parameter. |
StackName | String | test-stack | The name of the stack. |
StackId | String | b0bb2844-da77-4ceb-afe9-7dd6a97d**** | The ID of the stack. |
Stack status change
When the status of a stack changes, EventBridge receives an event similar to the following example.
{
"id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
"source": "acs.ros",
"specversion": "1.0",
"subject": "acs.ros:cn-hangzhou:123456789098****:stack/cfafc3f6-032b-420a-aa74-91e2d311****",
"time": "2020-11-19T21:04:41+08:00",
"type": "ros:Stack:StatusChange",
"aliyunaccountid": "123456789098****",
"aliyunpublishtime": "2020-11-19T21:04:42Z",
"aliyuneventbusname": "default",
"aliyunregionid": "cn-hangzhou",
"aliyunpublishaddr": "172.25.XX.XX",
"data": {
"StackId": "cfafc3f6-032b-420a-aa74-91e2d311****",
"StackName": "test-stack-name",
"Tags": {"key1": "value1"},
"Outputs": [],
"Status": "CREATE_IN_PROGRESS"
}
}The following table describes the parameters in the data field.
Parameter | Type | Example value | Description |
Status | String | UPDATE_FAILED | The status of the stack. |
Tags | Object | {"key1": "value1"} | The tags of the stack. |
Outputs | Array | The outputs of the stack. | |
StackName | String | test-stack | The name of the stack. |
StackId | String | b0bb2844-da77-4ceb-afe9-7dd6a97d**** | The ID of the stack. |