Last active
January 20, 2020 06:42
-
-
Save misterjunio/b94e40f1059a5e206076362df809e33c to your computer and use it in GitHub Desktop.
AWS CFN - GG function definition example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FunctionDefinition: | |
Type: "AWS::Greengrass::FunctionDefinition" | |
Properties: | |
Name: !Sub "${pEnvName}-core${pCoreId}-FunctionDefinition" | |
FunctionDefinitionVersion: | |
Type: "AWS::Greengrass::FunctionDefinitionVersion" | |
Properties: | |
FunctionDefinitionId: !GetAtt FunctionDefinition.Id | |
Functions: | |
# Function to set group as automatically detect core connectivity | |
- Id: !Sub "${pEnvName}-core${pCoreId}-AutoDetectionFunction" | |
FunctionArn: "arn:aws:lambda:::function:GGIPDetector:1" | |
FunctionConfiguration: | |
MemorySize: "32768" | |
Timeout: "3" | |
Pinned: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment