This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.
AWS::Greengrass::FunctionDefinitionVersion Function
A function is a Lambda function that's referenced from an Amazon IoT Greengrass group. The function is deployed to a Greengrass core where it runs locally. For more information, see Run Lambda Functions on the Amazon IoT Greengrass Core in the Amazon IoT Greengrass Version 1 Developer Guide .
 In an
            Amazon CloudFormation template, the Functions property of the AWS::Greengrass::FunctionDefinitionVersion resource contains a list of Function property types.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "FunctionArn" :String, "FunctionConfiguration" :FunctionConfiguration, "Id" :String}
YAML
FunctionArn:StringFunctionConfiguration:FunctionConfigurationId:String
Properties
FunctionArn- 
                    
The Amazon Resource Name (ARN) of the alias (recommended) or version of the referenced Lambda function.
Required: Yes
Type: String
Update requires: Replacement
 FunctionConfiguration- 
                    
The group-specific settings of the Lambda function. These settings configure the function's behavior in the Greengrass group.
Required: Yes
Type: FunctionConfiguration
Update requires: Replacement
 Id- 
                    
A descriptive or arbitrary ID for the function. This value must be unique within the function definition version. Maximum length is 128 characters with pattern
[a-zA-Z0-9:_-]+.Required: Yes
Type: String
Update requires: Replacement
 
See also
- 
                    
Function in the Amazon IoT Greengrass Version 1 API Reference