Last active
July 1, 2019 16:41
-
-
Save alexcasalboni/3a1858c0ed4cb1d60a1b2470638238da to your computer and use it in GitHub Desktop.
AWS Iot 1-Click Event - CloudFormation template (YAML)
This file contains hidden or 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
AWSTemplateFormatVersion: '2010-09-09' | |
Transform: AWS::Serverless-2016-10-31 | |
Resources: | |
MyClickFunction: | |
Type: AWS::Serverless::Function | |
Properties: | |
Handler: index.handler | |
Runtime: python2.7 | |
# ... | |
# all the other properties here | |
# ... | |
MyIoT1ClickProject: | |
Type: AWS::IoT1Click::Project | |
Properties: | |
ProjectName: MyProjectName | |
PlacementTemplate: | |
DeviceTemplates: | |
myTemplateName: | |
DeviceType: button | |
CallbackOverrides: | |
onClickCallback: !GetAtt MyClickFunction.Arn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment