# RuleVariablesProperty

Settings that are available for use in the rules in the rule group where this is defined.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_networkfirewall as networkfirewall } from 'aws-cdk-lib';
const ruleVariablesProperty: networkfirewall.CfnRuleGroup.RuleVariablesProperty = {
  ipSets: {
    ipSetsKey: {
      definition: ['definition'],
    },
  },
  portSets: {
    portSetsKey: {
      definition: ['definition'],
    },
  },
};
```

## Properties

- `ipSets`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | { [key: string]: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnRuleGroup.IPSetProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_networkfirewall.CfnRuleGroup.IPSetProperty.html) } — A list of IP addresses and address ranges, in CIDR notation.

- `portSets`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | { [key: string]: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnRuleGroup.PortSetProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_networkfirewall.CfnRuleGroup.PortSetProperty.html) } — A list of port ranges.
