{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-iot-greengrass/refs/heads/main/json-schema/iot-greengrass-lambda-function-recipe-source-schema.json",
"title": "LambdaFunctionRecipeSource",
"description": "Contains information about an Lambda function to import to create a component.",
"type": "object",
"properties": {
"lambdaArn": {
"allOf": [
{
"$ref": "#/components/schemas/NonEmptyString"
},
{
"description": "The ARN of the Lambda function. The ARN must include the version of the function to import. You can't use version aliases like $LATEST."
}
]
},
"componentName": {
"allOf": [
{
"$ref": "#/components/schemas/ComponentNameString"
},
{
"description": "
The name of the component.
Defaults to the name of the Lambda function.
" } ] }, "componentVersion": { "allOf": [ { "$ref": "#/components/schemas/ComponentVersionString" }, { "description": "The version of the component.
Defaults to the version of the Lambda function as a semantic version. For example, if your function version is 3, the component version becomes 3.0.0.