# CfnScopeProps

Properties for defining a `CfnScope`.

Extends: CfnScopeProps
Used as props by: CfnScope

- Source: Generated code
- Type last changed: v2.272.0 · 30 Sep 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 cfnScopeProps: networkflowmonitor.CfnScopeProps = {
  targets: [{
    region: 'region',
    targetIdentifier: {
      targetId: {
        accountId: 'accountId',
      },
      targetType: 'targetType',
    },
  }],

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

## Properties

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

- `targets`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnScope.TargetResourceProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_networkflowmonitor.CfnScope.TargetResourceProperty.html)[] (required) — The targets for the scope.
