CmdID / aws / aws networkmonitor
aws networkmonitor get-monitor
Returns details about a specific monitor. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To get monitor information
The following get-monitor example gets information about a monitor named Example_NetworkMonitor.
aws networkmonitor get-monitor --monitor-name Example_NetworkMonitorIdentify--monitor-nameThe name of the monitor that details are returned for.Its output
{
"monitorArn": "arn:aws:networkmonitor:region:123456789012:monitor/Example_NetworkMonitor",
"monitorName": "Example_NetworkMonitor",
"state": "ACTIVE",
"aggregationPeriod": 60,
"tags": {},
"probes": [],
"createdAt": "2024-04-01T17:58:07.211000-04:00",
"modifiedAt": "2024-04-01T17:58:07.211000-04:00"
}For more information, see How Amazon CloudWatch Network Monitor Works in the Amazon CloudWatch User Guide.
Options
--monitor-nameThe name of the monitor that details are returned for.