# AWS::NetworkMonitor Construct Library

---

![cfn-resources: Stable](https://img.shields.io/badge/cfn--resources-stable-success.svg?style=for-the-badge)

> All classes with the `Cfn` prefix in this module ([CFN Resources]) are always stable and safe to use.
>
> [CFN Resources]: https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib

---

This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.

TypeScript:

```ts
import * as networkmonitor from 'aws-cdk-lib/aws-networkmonitor';
```

Python:

```python
import aws_cdk.aws_networkmonitor as networkmonitor
```

Java:

```java
import software.amazon.awscdk.services.networkmonitor.*;
```

C# / .NET:

```csharp
using Amazon.CDK.AWS.NetworkMonitor;
```

Golang:

```go
import networkmonitor "github.com/aws/aws-cdk-go/awscdk"
```

There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:

- Search [Construct Hub for NetworkMonitor construct libraries](https://constructs.dev/search?q=networkmonitor)
- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::NetworkMonitor resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_NetworkMonitor.html) directly.

There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::NetworkMonitor](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_NetworkMonitor.html).

(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)

## Types

### Constructs (L1)

- [`CfnMonitor`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_networkmonitor.CfnMonitor.html) Construct (L1) An Amazon CloudWatch Network Monitor resource that monitors network traffic between a source VPC subnet and a destination IP address.
- [`CfnProbe`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_networkmonitor.CfnProbe.html) Construct (L1) An Amazon CloudWatch Network Monitor probe that measures network traffic between a source subnet and a destination.

### Structs

- [`CfnMonitorProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_networkmonitor.CfnMonitorProps.html) Struct Properties for defining a `CfnMonitor`.
- [`CfnProbeProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_networkmonitor.CfnProbeProps.html) Struct Properties for defining a `CfnProbe`.
