Skip to main content

LinkIntermediaryResourceState

idstringrequired

The ID of the intermediary resource.

Example: 60d7c6c5-3984-42b9-a3c1-ae8a47a9bf55
instanceIdstringrequired

The ID of the blueprint instance that the intermediary resource belongs to.

Example: a97cf86f-2a5e-4614-984e-da480a0daa7a
statusintegerrequired

The high level status of the intermediary resource.

See the status codes for the ResourceState schema definition for what each status means.

Possible values: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]

Example: 2
preciseStatusintegerrequired

The precise status of the intermediary resource.

See the precise status codes for the ResourceState schema definition for 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]

Example: 3
lastDeployedTimestampintegerrequired

The unix timestamp when the intermediary resource was last deployed.

Example: 1678901234
lastDeployAttemptTimestampintegerrequired

The unix timestamp when the last attempt was made to deploy the intermediary resource.

Example: 1678901234
resourceSpecData objectrequired

The resolved resource spec for the intermediary resource that is generated by a provider's implementation of a link based on link data derived from the two primary resources that are linked together and rules in the link implementation.

failureReasonsstring[]nullable

The reasons why the intermediary resource deployment has failed, if applicable.

LinkIntermediaryResourceState
{
"id": "60d7c6c5-3984-42b9-a3c1-ae8a47a9bf55",
"instanceId": "a97cf86f-2a5e-4614-984e-da480a0daa7a",
"status": 2,
"preciseStatus": 3,
"lastDeployedTimestamp": 1678901234,
"lastDeployAttemptTimestamp": 1678901234,
"resourceSpecData": {
"functionName": "my-lambda-function",
"handler": "index.handler",
"runtime": "nodejs20.x",
"arn": "arn:aws:lambda:us-east-1:123456789012:function:my-lambda-function"
},
"failureReasons": [
"The intermediary resource could not be created because the IAM role does not exist."
]
}