AWS SAM create IoTCore custom authorization
使用 SAM CLI 建立 nodejs 的 template,並修改 template.yaml 建立一個 lambda function 與 IoTCore 的 Authorizer,並指定 Authorizer 的 function 爲該 lambda function
AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Resources:
MyIoTCoreAuthorizer:
...
tp6gw94.hashnode.dev2 min read