

# ThingConnectivity
<a name="API_ThingConnectivity"></a>

The connectivity status of the thing.

## Contents
<a name="API_ThingConnectivity_Contents"></a>

 ** connected **   <a name="iot-Type-ThingConnectivity-connected"></a>
True if the thing is connected to the AWS IoT Core service; false if it is not connected.  
Type: Boolean  
Required: No

 ** disconnectReason **   <a name="iot-Type-ThingConnectivity-disconnectReason"></a>
The reason why the client is disconnected. If the thing has been disconnected for approximately an hour, the `disconnectReason` value might be missing.  
Type: String  
Required: No

 ** timestamp **   <a name="iot-Type-ThingConnectivity-timestamp"></a>
The epoch time (in milliseconds) when the thing last connected or disconnected. If the thing has been disconnected for approximately an hour, the time value might be missing.  
Type: Long  
Required: No

## See Also
<a name="API_ThingConnectivity_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/iot-2015-05-28/ThingConnectivity) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/iot-2015-05-28/ThingConnectivity) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/iot-2015-05-28/ThingConnectivity) 