Table Of Contents

Feedback

User Guide

First time using the AWS CLI? See the User Guide for help getting started.

[ aws . waf ]

get-regex-pattern-set

Description

Returns the RegexPatternSet specified by RegexPatternSetId .

See also: AWS API Documentation

Synopsis

  get-regex-pattern-set
--regex-pattern-set-id <value>
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]

Options

--regex-pattern-set-id (string)

The RegexPatternSetId of the RegexPatternSet that you want to get. RegexPatternSetId is returned by create-regex-pattern-set and by list-regex-pattern-sets .

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

Output

RegexPatternSet -> (structure)

Information about the RegexPatternSet that you specified in the get-regex-pattern-set request, including the identifier of the pattern set and the regular expression patterns you want AWS WAF to search for.

RegexPatternSetId -> (string)

The identifier for the RegexPatternSet . You use RegexPatternSetId to get information about a RegexPatternSet , update a RegexPatternSet , remove a RegexPatternSet from a RegexMatchSet , and delete a RegexPatternSet from AWS WAF.

RegexMatchSetId is returned by create-regex-pattern-set and by list-regex-pattern-sets .

Name -> (string)

A friendly name or description of the RegexPatternSet . You can't change Name after you create a RegexPatternSet .

RegexPatternStrings -> (list)

Specifies the regular expression (regex) patterns that you want AWS WAF to search for, such as B[a@]dB[o0]t .

(string)