libZSservicesZSamazonka-network-firewallZSamazonka-network-firewall
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.NetworkFirewall.Types.TCPFlagField

Description

 
Synopsis

Documentation

data TCPFlagField Source #

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

See: newTCPFlagField smart constructor.

Constructors

TCPFlagField' 

Fields

  • masks :: Maybe [TCPFlag]

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

  • flags :: [TCPFlag]

    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.

Instances

Instances details
Eq TCPFlagField Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TCPFlagField

Read TCPFlagField Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TCPFlagField

Show TCPFlagField Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TCPFlagField

Generic TCPFlagField Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TCPFlagField

Associated Types

type Rep TCPFlagField :: Type -> Type #

NFData TCPFlagField Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TCPFlagField

Methods

rnf :: TCPFlagField -> () #

Hashable TCPFlagField Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TCPFlagField

ToJSON TCPFlagField Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TCPFlagField

FromJSON TCPFlagField Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TCPFlagField

type Rep TCPFlagField Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TCPFlagField

type Rep TCPFlagField = D1 ('MetaData "TCPFlagField" "Amazonka.NetworkFirewall.Types.TCPFlagField" "libZSservicesZSamazonka-network-firewallZSamazonka-network-firewall" 'False) (C1 ('MetaCons "TCPFlagField'" 'PrefixI 'True) (S1 ('MetaSel ('Just "masks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TCPFlag])) :*: S1 ('MetaSel ('Just "flags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [TCPFlag])))

newTCPFlagField :: TCPFlagField Source #

Create a value of TCPFlagField with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:masks:TCPFlagField', tCPFlagField_masks - The set of flags to consider in the inspection. To inspect all flags in the valid values list, leave this with no setting.

$sel:flags:TCPFlagField', tCPFlagField_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.

tCPFlagField_masks :: Lens' TCPFlagField (Maybe [TCPFlag]) Source #

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

tCPFlagField_flags :: Lens' TCPFlagField [TCPFlag] Source #

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.