AWS::Greengrass::FunctionDefinition FunctionDefinitionVersion
A function definition version contains a list of functions.
Note
After you create a function definition version that contains the functions you want
to deploy, you must add it to your group version. For more information, see AWS::Greengrass::Group
.
In an Amazon CloudFormation template, FunctionDefinitionVersion
is the property
type of the InitialVersion
property in the AWS::Greengrass::FunctionDefinition
resource.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "DefaultConfig" :
DefaultConfig
, "Functions" :[ Function, ... ]
}
YAML
DefaultConfig:
DefaultConfig
Functions:- Function
Properties
DefaultConfig
-
The default configuration that applies to all Lambda functions in the group. Individual Lambda functions can override these settings.
Required: No
Type: DefaultConfig
Update requires: Replacement
Functions
-
The functions in this version.
Required: Yes
Type: Array of Function
Update requires: Replacement
See also
-
FunctionDefinitionVersion in the Amazon IoT Greengrass Version 1 API Reference