mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
25 lines
530 B
JSON
25 lines
530 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}-${opt:stage, self:provider.stage, 'dev'}-iot-policy"
|
|
}
|
|
},
|
|
"thing": {
|
|
"Type": "AWS::IoT::Thing",
|
|
"Properties": {
|
|
"ThingName": "IotDevice"
|
|
}
|
|
}
|
|
}
|
|
}
|