Skip to main content

AWS IoT Core uplink

Uplink Production

Publish to AWS IoT Core over MQTT with X.509 device certificates.

An uplink runs on a Site Runtime and subscribes to device groups; every value it receives is sent on. See Uplinks for the flow and the payload format.

Settings​

ParameterTypeDefaultRange / optionsRequiredDescription
Client ID
client-id
string—max 255 charsyes
QoS Level
qos
mapQoS 0QoS 0, QoS 1noMQTT QoS level for message delivery
Upload Format
format
mapvalues-formatvalues-format, tags-formatyesJSON format of the data reported from MakeIntelligent to AWS IoT Core. In values-mode, data are split into values and errors sub objects. In tags-mode, tag data are put in a single array.
Write Request Topic
write-req-topic
string—max 255 charsyesMakeIntelligent subscribes to this MQTT topic to receive write request messages from AWS IoT Core.
Write Response Topic
write-resp-topic
string—max 255 charsyesMakeIntelligent publishes write response messages to AWS IoT Core through this topic.
Offline Data Caching
offline-cache
boolfalse—noOffline caching switch. Cache MQTT messages when offline, and sync cached messages when back online. Shown when invisible = true.
Cache Memory Size (MB)
cache-mem-size
int—1 – 1024yesMax in-memory cache size in megabytes when MQTT connection exception occurs. Should be smaller than cache disk size. Shown when Offline Data Caching = true.
Cache Disk Size (MB)
cache-disk-size
int—1 – 10240yesMax in-disk cache size in megabytes when MQTT connection exception occurs. Should be larger than cache memory size. If nonzero, cache memory size should also be nonzero. Shown when Offline Data Caching = true.
Cache Sync Interval (MS)
cache-sync-interval
int10010 – 120000yesShown when Offline Data Caching = true.
Device data endponit
host
string—max 255 charsyesAWS IoT device data endpont
MQTT Port
port
int88831024 – 65535yesShown when invisible = true.
Username
username
string—max 255 charsnoShown when invisible = true.
Password
password
string—max 255 charsnoShown when invisible = true.
SSL
ssl
booltrue—noEnable SSL connection Shown when invisible = true.
Root CA Certificate
ca
file—max 81960 charsyesAWS IoT data endpoint root CA certificate Shown when SSL = true.
Device Certificate
cert
file—max 81960 charsnoDevice Certificate corresponding to a thing in the AWS IoT console Shown when SSL = true.
Private Key
key
file—max 81960 charsnoPrivate Key corresponding to a thing in the AWS IoT console Shown when SSL = true.