Class: Aws::NetworkFirewall::Types::TCPFlagField

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall/types.rb

Overview

Note:

When making an API call, you may pass TCPFlagField data as a hash:

{
  flags: ["FIN"], # required, accepts FIN, SYN, RST, PSH, ACK, URG, ECE, CWR
  masks: ["FIN"], # accepts FIN, SYN, RST, PSH, ACK, URG, ECE, CWR
}

TCP flags and masks to inspect packets for, used in stateless rules MatchAttributes settings.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#flagsArray<String>

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.

Returns:

  • (Array<String>)


3983
3984
3985
3986
3987
3988
# File 'gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall/types.rb', line 3983

class TCPFlagField < Struct.new(
  :flags,
  :masks)
  SENSITIVE = []
  include Aws::Structure
end

#masksArray<String>

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

Returns:

  • (Array<String>)


3983
3984
3985
3986
3987
3988
# File 'gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall/types.rb', line 3983

class TCPFlagField < Struct.new(
  :flags,
  :masks)
  SENSITIVE = []
  include Aws::Structure
end