Skip to main content

ResolvedResource

typestringrequired

The type of the resource.

Example: aws/lambda/function
descriptionstringnullable

A description of the resource.

Example: A lambda function for processing events
metadata objectnullable

The metadata for a resource in which all ${..} substitutions have been resolved.

displayNamestringnullable

A human-friendly display name for the resource.

Example: My Lambda Function
annotations object

Annotations for the resource.

labels object

Labels for the resource.

property name*string

The label value.

Example: processing
customobject

Custom metadata for the resource.

condition object

A condition for the resource that is derived from a source blueprint that determines whether or not the resource should be deployed.

oneOf
boolean

A resolved boolean value for a condition usually sourced from evaluating a ${..} substitution.

linkSelector object

A link selector for the resource that is derived from a source blueprint that determines which resources the current resource should be linked to.

byLabel objectrequired

A link selector that selects resources by label. This is used to determine which resources the current resource should be linked to.

property name*string

The label value.

Example: processing
spec objectrequired

The specification for the resource that is derived from the source blueprint.

ResolvedResource
{
"type": "aws/lambda/function",
"description": "A lambda function for processing events",
"metadata": {
"displayName": "My Lambda Function",
"annotations": {},
"labels": {},
"custom": {}
},
"condition": true,
"linkSelector": {
"byLabel": {}
},
"spec": {
"functionName": "my-lambda-function",
"handler": "index.handler",
"runtime": "nodejs20.x"
}
}