AWS::NetworkFirewall::RuleGroup TCPFlagField - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::NetworkFirewall::RuleGroup TCPFlagField

TCP flags and masks to inspect packets for. This is used in the AWS::NetworkFirewall::RuleGroup MatchAttributes specification.

For example:

"TCPFlags": [ { "Flags": [ "ECE", "SYN" ], "Masks": [ "SYN", "ECE" ] } ]

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Flags" : [ String, ... ], "Masks" : [ String, ... ] }

YAML

Flags: - String Masks: - String

Properties

Flags

Used in conjunction with the Masks setting to define the flags that must be set and flags that must not be set in order for the packet to match. This setting can only specify values that are also specified in the Masks setting.

For the flags that are specified in the masks setting, the following must be true for the packet to match:

  • The ones that are set in this flags setting must be set in the packet.

  • The ones that are not set in this flags setting must also not be set in the packet.

Required: Yes

Type: Array of String

Update requires: No interruption

Masks

The set of flags to consider in the inspection. To inspect all flags in the valid values list, leave this with no setting.

Required: No

Type: Array of String

Update requires: No interruption