CmdID / aws / aws networkmonitor
aws networkmonitor update-probe
Updates a monitor probe. AWS CLI reference
1 example 7 options Its page in the AWS CLI reference
Examples
To update a probe
The following update-probe example updates a probe's original destination IP address and also updates the packetSize to 60.
aws networkmonitor update-probe --monitor-name Example_NetworkMonitor --probe-id probe-12345 --destination 10.0.0.150 --packet-size 60Identify--monitor-nameThe name of the monitor that the probe was updated for.--probe-idThe ID of the probe to update.--destinationThe updated IP address for the probe destination.--packet-sizehe updated packets size for network traffic between the source and destination.Its output
{
"probeId": "probe-12345",
"probeArn": "arn:aws:networkmonitor:region:123456789012:probe/probe-12345",
"sourceArn": "arn:aws:ec2:region:123456789012:subnet/subnet-12345",
"destination": "10.0.0.150",
"destinationPort": 80,
"protocol": "TCP",
"packetSize": 60,
"addressFamily": "IPV4",
"vpcId": "vpc-12345",
"state": "PENDING",
"createdAt": "2024-03-29T12:41:57.314000-04:00",
"modifiedAt": "2024-03-29T13:52:23.115000-04:00",
"tags": {
"Name": "Probe1"
}
}For more information, see How Amazon CloudWatch Network Monitor Works in the Amazon CloudWatch User Guide.
Options
--destination-portThe updated port for the probe destination.--destinationThe updated IP address for the probe destination.--monitor-nameThe name of the monitor that the probe was updated for.--packet-sizehe updated packets size for network traffic between the source and destination.--probe-idThe ID of the probe to update.--protocolThe updated network protocol for the destination.--stateThe state of the probe update.