aws iot get-thing-connectivity-data
Retrieves the live connectivity status per device. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--include-socket-informationSpecifies if socket information (sourcePort, targetPort, sourceIp, targetIp, vpcEndpointId) should be included in the GetThingConnectivityData response.--thing-nameThe name of your IoT thing.