# NetworkTrafficRuleProperty

Network traffic rule.

- Source: Generated code
- Type last changed: v2.249.0 · 13 Apr 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_securityagent as securityagent } from 'aws-cdk-lib';
const networkTrafficRuleProperty: securityagent.CfnPentest.NetworkTrafficRuleProperty = {
  effect: 'effect',
  networkTrafficRuleType: 'networkTrafficRuleType',
  pattern: 'pattern',
};
```

## Properties

- `effect`: string — Whether to allow or deny traffic matching this rule.

- `networkTrafficRuleType`: string — Type of pattern matching for this rule.

- `pattern`: string — URL pattern this rule applies to.
