AWS iot documentation change
Summary
Added guidance on monitoring message queues using Service Quotas console and CloudWatch metrics
Security assessment
Added operational monitoring instructions but no security features or vulnerabilities addressed. Monitoring helps detect anomalies but isn't explicitly security-focused.
Diff
diff --git a/iot/latest/developerguide/mqtt.md b/iot/latest/developerguide/mqtt.md index 63b32eeae..0243a87a0 100644 --- a//iot/latest/developerguide/mqtt.md +++ b//iot/latest/developerguide/mqtt.md @@ -504 +504,6 @@ By default, queued message retention follows the [`Persistent Session expiry per -Message queue rates are limited according to the [`Queued messages per second per account`](https://docs.aws.amazon.com//general/latest/gr/iot-core.html#message-broker-limits) quota, and the number of messages is limited by the [`Maximum number of queued messages per shared subscription group`](https://docs.aws.amazon.com//general/latest/gr/iot-core.html#message-broker-limits) quota. +Message queue rates are limited according to the [`Queued messages per second per account`](https://docs.aws.amazon.com//general/latest/gr/iot-core.html#message-broker-limits) quota, and the number of messages is limited by the [`Maximum number of queued messages per shared subscription group`](https://docs.aws.amazon.com//general/latest/gr/iot-core.html#message-broker-limits) quota. To view and manage your quotas, access the [Service Quotas console](https://console.aws.amazon.com/servicequotas/home). + +You can monitor the Queue CloudWatch by searching for `ApproximateQueueDepth` under the `AWS/Usage` namespace, or you can use the following CLI command to list the metrics associated with each shared subscription group's queue depth. + + + aws cloudwatch list-metrics --namespace "AWS/Usage" --dimensions Name=Resource,Value='ApproximateQueueDepth'