NetworkConfig / CentralNetworkServicesConfig / NfwConfig / NfwRuleGroupConfig / NfwRuleGroupRuleConfig / NfwRuleSourceConfig / NfwStatelessRulesAndCustomActionsConfig / NfwRuleSourceStatelessRuleConfig / NfwRuleSourceStatelessRuleDefinitionConfig / NfwRuleSourceStatelessMatchAttributesConfig

Network Firewall stateless rule match attributes configuration.

Use this configuration to define stateless rule match attributes for Network Firewall. To be a match, a packet must satisfy all of the match settings in the rule.

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

protocols: [6]
sources:
- 10.1.0.0/16
sourcePorts:
- fromPort: 1024
toPort: 65535
destinations:
- 10.0.0.0/16
destinationPorts:
- fromPort: 22
toPort: 22
interface INfwRuleSourceStatelessMatchAttributesConfig {
    destinationPorts?: INfwRuleSourceStatelessPortRangeConfig[];
    destinations?: string[];
    protocols?: number[];
    sourcePorts?: INfwRuleSourceStatelessPortRangeConfig[];
    sources?: string[];
    tcpFlags?: INfwRuleSourceStatelessTcpFlagsConfig[];
}

Properties

(OPTIONAL) An array of Network Firewall stateless port range configurations.

The destination ports to inspect for. If not specified, this matches with any destination port. This setting is only used for protocols 6 (TCP) and 17 (UDP).

NfwRuleSourceStatelessPortRangeConfig

destinations?: string[]

(OPTIONAL) An array of destination CIDR ranges to inspect for.

Use CIDR notation, i.e. 10.0.0.0/16

protocols?: number[]

(OPTIONAL) An array of IP protocol numbers to inspect for.

(OPTIONAL) An array of Network Firewall stateless port range configurations.

The source ports to inspect for. If not specified, this matches with any source port. This setting is only used for protocols 6 (TCP) and 17 (UDP).

NfwRuleSourceStatelessPortRangeConfig

sources?: string[]

(OPTIONAL) An array of source CIDR ranges to inspect for.

Use CIDR notation, i.e. 10.0.0.0/16

(OPTIONAL) An array of Network Firewall stateless TCP flag configurations.

NfwRuleSourceStatelessTcpFlagsConfig