AWS::Greengrass::FunctionDefinitionVersionThe `AWS::Greengrass::FunctionDefinitionVersion` resource represents a function definition version for AWS IoT Greengrass . A function definition version contains contain a list of functions. > To create a function definition version, you must specify the ID of the function definition that you want to associate with the version. For information about creating a function definition, see [`AWS::Greengrass::FunctionDefinition`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-functiondefinition.html) . > > 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`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-group.html) .
import { CfnFunctionDefinitionVersion } from 'aws-cdk-lib/aws-greengrass';Or use the module namespace:
import * as greengrass from 'aws-cdk-lib/aws-greengrass';
// greengrass.CfnFunctionDefinitionVersionConfiguration passed to the constructor as CfnFunctionDefinitionVersionProps.
functionDefinitionIdRequiredstringThe ID of the function definition associated with this version. This value is a GUID.
functionsRequiredIResolvable | IResolvable | FunctionProperty[]The functions in this version.
defaultConfigOptionalIResolvable | DefaultConfigPropertyThe default configuration that applies to all Lambda functions in the group. Individual Lambda functions can override these settings.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-greengrassAWS::Greengrass::FunctionDefinitionVersion