amazonka-wafv2-2.0: Amazon WAFV2 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.WAFV2.Types.ManagedRuleSet

Description

 
Synopsis

Documentation

data ManagedRuleSet Source #

A set of rules that is managed by Amazon Web Services and Amazon Web Services Marketplace sellers to provide versioned managed rule groups for customers of WAF.

This is intended for use only by vendors of managed rule sets. Vendors are Amazon Web Services and Amazon Web Services Marketplace sellers.

Vendors, you can use the managed rule set APIs to provide controlled rollout of your versioned managed rule group offerings for your customers. The APIs are ListManagedRuleSets, GetManagedRuleSet, PutManagedRuleSetVersions, and UpdateManagedRuleSetVersionExpiryDate.

See: newManagedRuleSet smart constructor.

Constructors

ManagedRuleSet' 

Fields

  • description :: Maybe Text

    A description of the set that helps with identification.

  • labelNamespace :: Maybe Text

    The label namespace prefix for the managed rule groups that are offered to customers from this managed rule set. All labels that are added by rules in the managed rule group have this prefix.

    • The syntax for the label namespace prefix for a managed rule group is the following:

      awswaf:managed:<vendor>:<rule group name>:

    • When a rule with a label matches a web request, WAF adds the fully qualified label to the request. A fully qualified label is made up of the label namespace from the rule group or web ACL where the rule is defined and the label from the rule, separated by a colon:

      <label namespace>:<label from rule>
  • publishedVersions :: Maybe (HashMap Text ManagedRuleSetVersion)

    The versions of this managed rule set that are available for use by customers.

  • recommendedVersion :: Maybe Text

    The version that you would like your customers to use.

  • name :: Text

    The name of the managed rule set. You use this, along with the rule set ID, to identify the rule set.

    This name is assigned to the corresponding managed rule group, which your customers can access and use.

  • id :: Text

    A unique identifier for the managed rule set. The ID is returned in the responses to commands like list. You provide it to operations like get and update.

  • arn :: Text

    The Amazon Resource Name (ARN) of the entity.

Instances

Instances details
FromJSON ManagedRuleSet Source # 
Instance details

Defined in Amazonka.WAFV2.Types.ManagedRuleSet

Generic ManagedRuleSet Source # 
Instance details

Defined in Amazonka.WAFV2.Types.ManagedRuleSet

Associated Types

type Rep ManagedRuleSet :: Type -> Type #

Read ManagedRuleSet Source # 
Instance details

Defined in Amazonka.WAFV2.Types.ManagedRuleSet

Show ManagedRuleSet Source # 
Instance details

Defined in Amazonka.WAFV2.Types.ManagedRuleSet

NFData ManagedRuleSet Source # 
Instance details

Defined in Amazonka.WAFV2.Types.ManagedRuleSet

Methods

rnf :: ManagedRuleSet -> () #

Eq ManagedRuleSet Source # 
Instance details

Defined in Amazonka.WAFV2.Types.ManagedRuleSet

Hashable ManagedRuleSet Source # 
Instance details

Defined in Amazonka.WAFV2.Types.ManagedRuleSet

type Rep ManagedRuleSet Source # 
Instance details

Defined in Amazonka.WAFV2.Types.ManagedRuleSet

newManagedRuleSet Source #

Create a value of ManagedRuleSet 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:description:ManagedRuleSet', managedRuleSet_description - A description of the set that helps with identification.

$sel:labelNamespace:ManagedRuleSet', managedRuleSet_labelNamespace - The label namespace prefix for the managed rule groups that are offered to customers from this managed rule set. All labels that are added by rules in the managed rule group have this prefix.

  • The syntax for the label namespace prefix for a managed rule group is the following:

    awswaf:managed:<vendor>:<rule group name>:

  • When a rule with a label matches a web request, WAF adds the fully qualified label to the request. A fully qualified label is made up of the label namespace from the rule group or web ACL where the rule is defined and the label from the rule, separated by a colon:

    <label namespace>:<label from rule>

$sel:publishedVersions:ManagedRuleSet', managedRuleSet_publishedVersions - The versions of this managed rule set that are available for use by customers.

$sel:recommendedVersion:ManagedRuleSet', managedRuleSet_recommendedVersion - The version that you would like your customers to use.

$sel:name:ManagedRuleSet', managedRuleSet_name - The name of the managed rule set. You use this, along with the rule set ID, to identify the rule set.

This name is assigned to the corresponding managed rule group, which your customers can access and use.

$sel:id:ManagedRuleSet', managedRuleSet_id - A unique identifier for the managed rule set. The ID is returned in the responses to commands like list. You provide it to operations like get and update.

$sel:arn:ManagedRuleSet', managedRuleSet_arn - The Amazon Resource Name (ARN) of the entity.

managedRuleSet_description :: Lens' ManagedRuleSet (Maybe Text) Source #

A description of the set that helps with identification.

managedRuleSet_labelNamespace :: Lens' ManagedRuleSet (Maybe Text) Source #

The label namespace prefix for the managed rule groups that are offered to customers from this managed rule set. All labels that are added by rules in the managed rule group have this prefix.

  • The syntax for the label namespace prefix for a managed rule group is the following:

    awswaf:managed:<vendor>:<rule group name>:

  • When a rule with a label matches a web request, WAF adds the fully qualified label to the request. A fully qualified label is made up of the label namespace from the rule group or web ACL where the rule is defined and the label from the rule, separated by a colon:

    <label namespace>:<label from rule>

managedRuleSet_publishedVersions :: Lens' ManagedRuleSet (Maybe (HashMap Text ManagedRuleSetVersion)) Source #

The versions of this managed rule set that are available for use by customers.

managedRuleSet_recommendedVersion :: Lens' ManagedRuleSet (Maybe Text) Source #

The version that you would like your customers to use.

managedRuleSet_name :: Lens' ManagedRuleSet Text Source #

The name of the managed rule set. You use this, along with the rule set ID, to identify the rule set.

This name is assigned to the corresponding managed rule group, which your customers can access and use.

managedRuleSet_id :: Lens' ManagedRuleSet Text Source #

A unique identifier for the managed rule set. The ID is returned in the responses to commands like list. You provide it to operations like get and update.

managedRuleSet_arn :: Lens' ManagedRuleSet Text Source #

The Amazon Resource Name (ARN) of the entity.