amazonka-fms-2.0: Amazon Firewall Management Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.FMS.Types.StatefulRuleGroup

Description

 
Synopsis

Documentation

data StatefulRuleGroup Source #

Network Firewall stateful rule group, used in a NetworkFirewallPolicyDescription.

See: newStatefulRuleGroup smart constructor.

Constructors

StatefulRuleGroup' 

Fields

  • override :: Maybe NetworkFirewallStatefulRuleGroupOverride

    The action that allows the policy owner to override the behavior of the rule group within a policy.

  • priority :: Maybe Int

    An integer setting that indicates the order in which to run the stateful rule groups in a single Network Firewall firewall policy. This setting only applies to firewall policies that specify the STRICT_ORDER rule order in the stateful engine options settings.

    Network Firewall evalutes each stateful rule group against a packet starting with the group that has the lowest priority setting. You must ensure that the priority settings are unique within each policy. For information about

    You can change the priority settings of your rule groups at any time. To make it easier to insert rule groups later, number them so there's a wide range in between, for example use 100, 200, and so on.

  • resourceId :: Maybe Text

    The resource ID of the rule group.

  • ruleGroupName :: Maybe Text

    The name of the rule group.

Instances

Instances details
FromJSON StatefulRuleGroup Source # 
Instance details

Defined in Amazonka.FMS.Types.StatefulRuleGroup

Generic StatefulRuleGroup Source # 
Instance details

Defined in Amazonka.FMS.Types.StatefulRuleGroup

Associated Types

type Rep StatefulRuleGroup :: Type -> Type #

Read StatefulRuleGroup Source # 
Instance details

Defined in Amazonka.FMS.Types.StatefulRuleGroup

Show StatefulRuleGroup Source # 
Instance details

Defined in Amazonka.FMS.Types.StatefulRuleGroup

NFData StatefulRuleGroup Source # 
Instance details

Defined in Amazonka.FMS.Types.StatefulRuleGroup

Methods

rnf :: StatefulRuleGroup -> () #

Eq StatefulRuleGroup Source # 
Instance details

Defined in Amazonka.FMS.Types.StatefulRuleGroup

Hashable StatefulRuleGroup Source # 
Instance details

Defined in Amazonka.FMS.Types.StatefulRuleGroup

type Rep StatefulRuleGroup Source # 
Instance details

Defined in Amazonka.FMS.Types.StatefulRuleGroup

type Rep StatefulRuleGroup = D1 ('MetaData "StatefulRuleGroup" "Amazonka.FMS.Types.StatefulRuleGroup" "amazonka-fms-2.0-351knTjuYAjE9GRQTo0ohx" 'False) (C1 ('MetaCons "StatefulRuleGroup'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "override") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NetworkFirewallStatefulRuleGroupOverride)) :*: S1 ('MetaSel ('Just "priority") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "ruleGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newStatefulRuleGroup :: StatefulRuleGroup Source #

Create a value of StatefulRuleGroup 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:override:StatefulRuleGroup', statefulRuleGroup_override - The action that allows the policy owner to override the behavior of the rule group within a policy.

$sel:priority:StatefulRuleGroup', statefulRuleGroup_priority - An integer setting that indicates the order in which to run the stateful rule groups in a single Network Firewall firewall policy. This setting only applies to firewall policies that specify the STRICT_ORDER rule order in the stateful engine options settings.

Network Firewall evalutes each stateful rule group against a packet starting with the group that has the lowest priority setting. You must ensure that the priority settings are unique within each policy. For information about

You can change the priority settings of your rule groups at any time. To make it easier to insert rule groups later, number them so there's a wide range in between, for example use 100, 200, and so on.

$sel:resourceId:StatefulRuleGroup', statefulRuleGroup_resourceId - The resource ID of the rule group.

$sel:ruleGroupName:StatefulRuleGroup', statefulRuleGroup_ruleGroupName - The name of the rule group.

statefulRuleGroup_override :: Lens' StatefulRuleGroup (Maybe NetworkFirewallStatefulRuleGroupOverride) Source #

The action that allows the policy owner to override the behavior of the rule group within a policy.

statefulRuleGroup_priority :: Lens' StatefulRuleGroup (Maybe Int) Source #

An integer setting that indicates the order in which to run the stateful rule groups in a single Network Firewall firewall policy. This setting only applies to firewall policies that specify the STRICT_ORDER rule order in the stateful engine options settings.

Network Firewall evalutes each stateful rule group against a packet starting with the group that has the lowest priority setting. You must ensure that the priority settings are unique within each policy. For information about

You can change the priority settings of your rule groups at any time. To make it easier to insert rule groups later, number them so there's a wide range in between, for example use 100, 200, and so on.

statefulRuleGroup_resourceId :: Lens' StatefulRuleGroup (Maybe Text) Source #

The resource ID of the rule group.