AWS::GreengrassV2::ComponentVersion LambdaFunctionRecipeSource
Contains information about an AWS Lambda function to import to create a component.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "ComponentDependencies" :
{
, "ComponentLambdaParameters" :Key
:Value
, ...}LambdaExecutionParameters
, "ComponentName" :String
, "ComponentPlatforms" :[ ComponentPlatform, ... ]
, "ComponentVersion" :String
, "LambdaArn" :String
}
YAML
ComponentDependencies:
ComponentLambdaParameters:
Key
:Value
LambdaExecutionParameters
ComponentName:String
ComponentPlatforms:- ComponentPlatform
ComponentVersion:String
LambdaArn:String
Properties
ComponentDependencies
-
The component versions on which this Lambda function component depends.
Required: No
Type: Object of ComponentDependencyRequirement
Update requires: Replacement
ComponentLambdaParameters
-
The system and runtime parameters for the Lambda function as it runs on the AWS IoT Greengrass core device.
Required: No
Type: LambdaExecutionParameters
Update requires: Replacement
ComponentName
-
The name of the component.
Defaults to the name of the Lambda function.
Required: No
Type: String
Update requires: Replacement
ComponentPlatforms
-
The platforms that the component version supports.
Required: No
Type: Array of ComponentPlatform
Update requires: Replacement
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 becomes3.0.0
.Required: No
Type: String
Update requires: Replacement
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
.Required: No
Type: String
Pattern:
^arn:[^:]*:lambda:(([a-z]+-)+[0-9])?:([0-9]{12})?:[^.]+$
Update requires: Replacement