Last active
January 20, 2020 06:42
-
-
Save misterjunio/6aa40aba3c3e0c197a5df42c8c083e86 to your computer and use it in GitHub Desktop.
AWS CFN - GG core 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
CoreThing: | |
Type: AWS::IoT::Thing | |
Properties: | |
ThingName: !Sub "${pEnvName}-core${pCoreId}" | |
CoreDefinition: | |
Type: AWS::Greengrass::CoreDefinition | |
Properties: | |
Name: !Sub "${pEnvName}-core${pCoreId}" | |
CoreDefinitionVersion: | |
Type: "AWS::Greengrass::CoreDefinitionVersion" | |
Properties: | |
CoreDefinitionId: !Ref CoreDefinition | |
Cores: | |
- Id: !Sub "${pEnvName}-core${pCoreId}-id" | |
CertificateArn: !Ref pCertArn | |
ThingArn: !Join | |
- ":" | |
- - "arn:aws:iot" | |
- !Ref "AWS::Region" | |
- !Ref "AWS::AccountId" | |
- !Sub "thing/${CoreThing}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment