Module Values.CreateRegexPatternSetRequestSource

Creates a RegexPatternSet, which you reference in a RegexPatternSetReferenceStatement, to have WAF inspect a web request component for the specified patterns.

Sourcetype nonrec t = {
  1. name : EntityName.t;
    (*

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

    *)
  2. scope : Scope.t;
    (*

    Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use CLOUDFRONT. To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: CLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1. API and SDKs - For all calls, use the Region endpoint us-east-1.

    *)
  3. description : EntityDescription.t option;
    (*

    A description of the set that helps with identification.

    *)
  4. regularExpressionList : RegularExpressionList.t;
    (*

    Array of regular expression strings.

    *)
  5. tags : TagList.t option;
    (*

    An array of key:value pairs to associate with the resource.

    *)
}
Sourceval context_ : string
Sourceval make : ?description:??? -> ?tags:??? -> name:EntityName.t -> scope:Scope.t -> regularExpressionList:RegularExpressionList.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of RegexPatternString.t ]) list ] list | `String of EntityName.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t