Hi Marlene,
Based on the mentioned link:
"The Azure IoT Hub doesn't send every single connection state, but publishes the current connection state taken at a periodic snapshot of 60sec until the flickering stops."
In other words, if the device is connected and after 5 seconds is disconnected and then again the device is connected, the IoT Hub will emit only one event message to the AEG such as an eventType = Microsoft.Devices.DeviceConnected.
Note, that the time 60 seconds for snapshotting a device connection state is not configurable.
Thanks
Roman