AWS::Greengrass::FunctionDefinition FunctionDefinitionVersion
A function definition version contains a list of functions.
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 AWS CloudFormation template, FunctionDefinitionVersion
is the property type of the InitialVersion
property
in the AWS::Greengrass::FunctionDefinition
resource.
Syntax
To declare this entity in your AWS 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: List of Function
Update requires: Replacement
See also
-
FunctionDefinitionVersion in the AWS IoT Greengrass Version 1 API Reference