ResolvedResource
The type of the resource.
aws/lambda/function
A description of the resource.
A lambda function for processing events
metadata objectnullable
The metadata for a resource in which all ${..} substitutions have been resolved.
A human-friendly display name for the resource.
My Lambda Function
annotations object
Annotations for the resource.
labels object
Labels for the resource.
The label value.
processing
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.
- MOD1
- MOD2
A resolved boolean value for a condition usually sourced from evaluating a ${..} substitution.
A list of conditions that must all be true.
A list of conditions that must be at least one true.
The negation of a condition.
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.
The label value.
processing
spec objectrequired
The specification for the resource that is derived from the source blueprint.
{
"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"
}
}