2023-03-20 14:02:39 +01:00

25 lines
521 B
JSON

{
"Parameters": {},
"Resources": {
"certificate": {
"Type": "AWS::IoT::Certificate",
"Properties": {
"CertificateId": { "Ref": "AWS::IoT::Certificate::Id" },
"Status": "Active"
}
},
"policy": {
"Type": "AWS::IoT::Policy",
"Properties": {
"PolicyName": "${self:service}-${sls:stage}-iot-policy"
}
},
"thing": {
"Type": "AWS::IoT::Thing",
"Properties": {
"ThingName": "${self:service}-${sls:stage}"
}
}
}
}