NetworkConfig / CentralNetworkServicesConfig / NfwConfig / NfwRuleGroupConfig / NfwRuleGroupRuleConfig

Network Firewall rule group rule configuration. Used to define rules for a Network Firewall rule group.

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-rulegroup.html

rulesSource:
rulesFile: path/to/rules.txt
ruleVariables:
ipSets:
- name: HOME_NET
definition: ['10.0.0.0/16']
portSets:
- name: HOME_NET
definition: ['80', '443']
interface INfwRuleGroupRuleConfig {
    rulesSource: INfwRuleSourceConfig;
    ruleVariables?: INfwRuleVariableConfig;
    statefulRuleOptions?: NfwStatefulRuleOptionsType;
}

Properties

A Network Firewall rule source configuration.

NfwRuleSourceConfig

ruleVariables?: INfwRuleVariableConfig

A Network Firewall rule variable configuration.

NfwRuleVariableConfig

statefulRuleOptions?: NfwStatefulRuleOptionsType

A stateful rule option for the rule group.

NetworkConfigTypes.nfwStatefulRuleOptionsType