LambdaFunctionRecipeSource - Amazon IoT Greengrass
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

LambdaFunctionRecipeSource

Contains information about an Amazon Lambda function to import to create a component.

Contents

componentDependencies

The component versions on which this Lambda function component depends.

Type: String to ComponentDependencyRequirement object map

Key Length Constraints: Minimum length of 1.

Required: No

componentLambdaParameters

The system and runtime parameters for the Lambda function as it runs on the Greengrass core device.

Type: LambdaExecutionParameters object

Required: No

componentName

The name of the component.

Defaults to the name of the Lambda function.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Pattern: [a-zA-Z0-9-_.]+

Required: No

componentPlatforms

The platforms that the component version supports.

Type: Array of ComponentPlatform objects

Required: No

componentVersion

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.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: [0-9a-zA-Z-.+]+

Required: No

lambdaArn

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.

Type: String

Pattern: arn:aws(-cn|-us-gov)?:lambda:[^:]+:[0-9]+:function:[a-zA-Z0-9-_]+:[0-9]+

Required: Yes

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: