ResourceDeploymentEvent
The ID of the blueprint instance.
16ef8989-af00-4a4a-8164-72493ceb1aa0
The globally unique ID of the resource.
16ef8989-af00-4a4a-8164-72493ceb1aa0
THe logical name of the resource as defined in the source blueprint.
my-resource
The group number that the resource belongs to relative to the ordering for components in the current blueprint associated with the instance ID. A group is a collection of items that can be deployed or destroyed at the same time.
1
The high-level status of the resource.
See the ResourceState
schema definition for more information on what each status means.
Possible values: [0
, 1
, 2
, 3
, 4
, 5
, 6
, 7
, 8
, 9
, 10
, 11
, 12
]
2
The precise status of the resource.
See the ResourceState
schema definition for more information on what each status means.
Possible values: [0
, 1
, 2
, 3
, 4
, 5
, 6
, 7
, 8
, 9
, 10
, 11
, 12
, 13
, 14
, 15
, 16
, 17
, 18
, 19
, 20
, 21
, 22
]
3
A list of failure reasons for the resource that will contain values for failure events.
The attempt number for deploying or destroying the resource.
1
Indicates if the operation for the resource can be retried after this attempt.
false
The unix timestamp of the event in seconds.
1678901234
durations objectnullable
Duration information for a resource deployment. Duration information is attached on one of the following precise status updates:
- Config Complete (2)
- Created (3)
- Create Failed (4)
- Create Rollback Failed (6)
- Create Rollback Complete (7)
- Destroyed (9)
- Destroy Failed (10)
- Destroy Rollback Failed (12)
- Destroy Rollback Config Complete (13)
- Destroy Rollback Complete (14)
- Update Config Complete (16)
- Updated (17)
- Update Failed (18)
- Update Rollback Failed (20)
- Update Rollback Config Complete (21)
- Update Rollback Complete (22)
The duration in milliseconds for the resource to be configured. This will only be set if the resource has reached the config complete status.
10000
The duration in milliseconds for the resource change to reach the final status.
20000
The durations in milliseconds for each attempt to deploy the resource.
{
"instanceId": "16ef8989-af00-4a4a-8164-72493ceb1aa0",
"resourceId": "16ef8989-af00-4a4a-8164-72493ceb1aa0",
"resourceName": "my-resource",
"group": 1,
"status": 2,
"preciseStatus": 3,
"failureReasons": [
"Invalid configuration for resource spec"
],
"attempt": 1,
"canRetry": false,
"updateTimestamp": 1678901234,
"durations": {
"configCompleteDuration": 10000,
"totalDuration": 20000,
"attemptDurations": [
20000
]
}
}