# CfnMonitorProps

Properties for defining a `CfnMonitor`.

Extends: CfnMonitorProps
Used as props by: CfnMonitor

- Source: Generated code
- Type last changed: v2.264.0 · 10 Aug 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_networkflowmonitor as networkflowmonitor } from 'aws-cdk-lib';
const cfnMonitorProps: networkflowmonitor.CfnMonitorProps = {
  localResources: [{
    identifier: 'identifier',
    type: 'type',
  }],
  monitorName: 'monitorName',

  // the properties below are optional
  remoteResources: [{
    identifier: 'identifier',
    type: 'type',
  }],
  scopeArn: 'scopeArn',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

## Properties

- `localResources`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnMonitor.MonitorLocalResourceProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_networkflowmonitor.CfnMonitor.MonitorLocalResourceProperty.html)[] (required) — The local resources to monitor.

- `monitorName`: string (required) — The name of the monitor.

- `remoteResources`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnMonitor.MonitorRemoteResourceProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_networkflowmonitor.CfnMonitor.MonitorRemoteResourceProperty.html)[] — The remote resources to monitor.

- `scopeArn`: string — The Amazon Resource Name (ARN) of the scope for the monitor.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — The tags for the monitor.
