You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::WAFV2::Types::Regex

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing Regex as input to an Aws::Client method, you can use a vanilla Hash:

{
  regex_string: "RegexPatternString",
}

This is the latest version of AWS WAF, named AWS WAFV2, released in November, 2019. For information, including how to migrate your AWS WAF resources from the prior release, see the AWS WAF Developer Guide.

A single regular expression. This is used in a RegexPatternSet.

Instance Attribute Summary collapse

Instance Attribute Details

#regex_stringString

The string representing the regular expression.

Returns:

  • (String)

    The string representing the regular expression.