aws-cdk-lib.aws_networkfirewall.CfnRuleGroup.RuleVariablesProperty

interface RuleVariablesProperty

LanguageType name
.NETAmazon.CDK.AWS.NetworkFirewall.CfnRuleGroup.RuleVariablesProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsnetworkfirewall#CfnRuleGroup_RuleVariablesProperty
Javasoftware.amazon.awscdk.services.networkfirewall.CfnRuleGroup.RuleVariablesProperty
Pythonaws_cdk.aws_networkfirewall.CfnRuleGroup.RuleVariablesProperty
TypeScript aws-cdk-lib » aws_networkfirewall » CfnRuleGroup » RuleVariablesProperty

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

Example

// 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

NameTypeDescription
ipSets?IResolvable | { [string]: IResolvable | IPSetProperty }A list of IP addresses and address ranges, in CIDR notation.
portSets?IResolvable | { [string]: IResolvable | PortSetProperty }A list of port ranges.

ipSets?

Type: IResolvable | { [string]: IResolvable | IPSetProperty } (optional)

A list of IP addresses and address ranges, in CIDR notation.


portSets?

Type: IResolvable | { [string]: IResolvable | PortSetProperty } (optional)

A list of port ranges.