Skip to content
v2.274.0

RuleVariablesProperty Struct ​

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

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 ​

ipSetsIResolvable | { [key: string]: IResolvable | CfnRuleGroup.IPSetProperty }ip_setstyping.Union[IResolvable, typing.Mapping[str, typing.Union[IResolvable, IPSetProperty]]]ipSetsIResolvableIpSetsIResolvableIpSetsinterface{}#
A list of IP addresses and address ranges, in CIDR notation.
portSetsIResolvable | { [key: string]: IResolvable | CfnRuleGroup.PortSetProperty }port_setstyping.Union[IResolvable, typing.Mapping[str, typing.Union[IResolvable, PortSetProperty]]]portSetsIResolvablePortSetsIResolvablePortSetsinterface{}#
A list of port ranges.