LambdaFunctionRecipeSource - AWS IoT Greengrass

LambdaFunctionRecipeSource

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

Contents

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

Length Constraints: Minimum length of 1.

Required: Yes

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.

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.

Required: No

See Also

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