# AWS::NetworkFlowMonitor 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 networkflowmonitor from 'aws-cdk-lib/aws-networkflowmonitor';
```

Python:

```python
import aws_cdk.aws_networkflowmonitor as networkflowmonitor
```

Java:

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

C# / .NET:

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

Golang:

```go
import networkflowmonitor "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 NetworkFlowMonitor construct libraries](https://constructs.dev/search?q=networkflowmonitor)
- 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::NetworkFlowMonitor resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_NetworkFlowMonitor.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::NetworkFlowMonitor](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_NetworkFlowMonitor.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_networkflowmonitor.CfnMonitor.html) Construct (L1) Creates a monitor for specific network flows between local and remote resources to monitor network performance for workloads.
- [`CfnPerformanceMonitor`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_networkflowmonitor.CfnPerformanceMonitor.html) Construct (L1) Creates a performance monitor to monitor network performance between a set of targets for a workload.
- [`CfnScope`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_networkflowmonitor.CfnScope.html) Construct (L1) Resource Type definition for AWS::NetworkFlowMonitor::Scope.

### Structs

- [`CfnMonitor.MonitorLocalResourceProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_networkflowmonitor.CfnMonitor.MonitorLocalResourceProperty.html) Struct A local resource is the host where the agent is installed.
- [`CfnMonitor.MonitorRemoteResourceProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_networkflowmonitor.CfnMonitor.MonitorRemoteResourceProperty.html) Struct A remote resource is the other endpoint in a network flow.
- [`CfnMonitorProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_networkflowmonitor.CfnMonitorProps.html) Struct Properties for defining a `CfnMonitor`.
- [`CfnPerformanceMonitor.PerformanceMonitorTargetProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_networkflowmonitor.CfnPerformanceMonitor.PerformanceMonitorTargetProperty.html) Struct A target that is monitored by a performance monitor.
- [`CfnPerformanceMonitorProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_networkflowmonitor.CfnPerformanceMonitorProps.html) Struct Properties for defining a `CfnPerformanceMonitor`.
- [`CfnScope.TargetIdentifierProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_networkflowmonitor.CfnScope.TargetIdentifierProperty.html) Struct A target identifier is a pair of identifying information for a scope target.
- [`CfnScope.TargetIdProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_networkflowmonitor.CfnScope.TargetIdProperty.html) Struct A target ID is an internally-generated identifier for a target.
- [`CfnScope.TargetResourceProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_networkflowmonitor.CfnScope.TargetResourceProperty.html) Struct A target resource in a scope, identified by a Region and target identifier.
- [`CfnScopeProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_networkflowmonitor.CfnScopeProps.html) Struct Properties for defining a `CfnScope`.
