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.RegexPatternSet

Description

 
Synopsis

Documentation

data RegexPatternSet Source #

Contains one or more regular expressions.

WAF assigns an ARN to each RegexPatternSet that you create. To use a set in a rule, you provide the ARN to the Rule statement RegexPatternSetReferenceStatement.

See: newRegexPatternSet smart constructor.

Constructors

RegexPatternSet' 

Fields

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) of the entity.

  • description :: Maybe Text

    A description of the set that helps with identification.

  • id :: Maybe Text

    A unique identifier for the set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.

  • name :: Maybe Text

    The name of the set. You cannot change the name after you create the set.

  • regularExpressionList :: Maybe [Regex]

    The regular expression patterns in the set.

Instances

Instances details
FromJSON RegexPatternSet Source # 
Instance details

Defined in Amazonka.WAFV2.Types.RegexPatternSet

Generic RegexPatternSet Source # 
Instance details

Defined in Amazonka.WAFV2.Types.RegexPatternSet

Associated Types

type Rep RegexPatternSet :: Type -> Type #

Read RegexPatternSet Source # 
Instance details

Defined in Amazonka.WAFV2.Types.RegexPatternSet

Show RegexPatternSet Source # 
Instance details

Defined in Amazonka.WAFV2.Types.RegexPatternSet

NFData RegexPatternSet Source # 
Instance details

Defined in Amazonka.WAFV2.Types.RegexPatternSet

Methods

rnf :: RegexPatternSet -> () #

Eq RegexPatternSet Source # 
Instance details

Defined in Amazonka.WAFV2.Types.RegexPatternSet

Hashable RegexPatternSet Source # 
Instance details

Defined in Amazonka.WAFV2.Types.RegexPatternSet

type Rep RegexPatternSet Source # 
Instance details

Defined in Amazonka.WAFV2.Types.RegexPatternSet

type Rep RegexPatternSet = D1 ('MetaData "RegexPatternSet" "Amazonka.WAFV2.Types.RegexPatternSet" "amazonka-wafv2-2.0-3v3WgpYn7RT5hSd6MsT5dN" 'False) (C1 ('MetaCons "RegexPatternSet'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "regularExpressionList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Regex]))))))

newRegexPatternSet :: RegexPatternSet Source #

Create a value of RegexPatternSet 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:arn:RegexPatternSet', regexPatternSet_arn - The Amazon Resource Name (ARN) of the entity.

$sel:description:RegexPatternSet', regexPatternSet_description - A description of the set that helps with identification.

$sel:id:RegexPatternSet', regexPatternSet_id - A unique identifier for the set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.

$sel:name:RegexPatternSet', regexPatternSet_name - The name of the set. You cannot change the name after you create the set.

$sel:regularExpressionList:RegexPatternSet', regexPatternSet_regularExpressionList - The regular expression patterns in the set.

regexPatternSet_arn :: Lens' RegexPatternSet (Maybe Text) Source #

The Amazon Resource Name (ARN) of the entity.

regexPatternSet_description :: Lens' RegexPatternSet (Maybe Text) Source #

A description of the set that helps with identification.

regexPatternSet_id :: Lens' RegexPatternSet (Maybe Text) Source #

A unique identifier for the set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.

regexPatternSet_name :: Lens' RegexPatternSet (Maybe Text) Source #

The name of the set. You cannot change the name after you create the set.

regexPatternSet_regularExpressionList :: Lens' RegexPatternSet (Maybe [Regex]) Source #

The regular expression patterns in the set.