AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Creates a monitor between a source subnet and destination IP address. Within a monitor you'll create one or more probes that monitor network traffic between your source Amazon Web Services VPC subnets and your destination IP addresses. Each probe then aggregates and sends metrics to Amazon CloudWatch.
You can also create a monitor with probes using this command. For each probe, you define the following:
source—The subnet IDs where the probes will be created.
destination— The target destination IP address for the probe.
destinationPort—Required only if the protocol is TCP.
protocol—The communication protocol between the source and destination. This
will be either TCP or ICMP.
packetSize—The size of the packets. This must be a number between 56
and 8500.
(Optional) tags —Key-value pairs created and assigned to the probe.
For .NET Core this operation is only available in asynchronous form. Please refer to CreateMonitorAsync.
Namespace: Amazon.NetworkMonitor
Assembly: AWSSDK.NetworkMonitor.dll
Version: 3.x.y.z
public virtual CreateMonitorResponse CreateMonitor( CreateMonitorRequest request )
Container for the necessary parameters to execute the CreateMonitor service method.
| Exception | Condition |
|---|---|
| AccessDeniedException | You do not have sufficient access to perform this action. |
| ConflictException | This operation attempted to create a resource that already exists. |
| InternalServerException | The request processing has failed because of an unknown error, exception or failure. |
| ServiceQuotaExceededException | This request exceeds a service quota. |
| ThrottlingException | The request was denied due to request throttling |
| ValidationException | One of the parameters for the request is not valid. |
.NET Framework:
Supported in: 4.7.2 and newer