mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
25 lines
521 B
JSON
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}"
|
|
}
|
|
}
|
|
}
|
|
}
|