RegexPatternSetArgs

data class RegexPatternSetArgs(val name: Output<String>? = null, val regexPatternStrings: Output<List<String>>? = null) : ConvertibleToJava<RegexPatternSetArgs>

Provides a WAF Regional Regex Pattern Set Resource

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.wafregional.RegexPatternSet;
import com.pulumi.aws.wafregional.RegexPatternSetArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new RegexPatternSet("example", RegexPatternSetArgs.builder()
.regexPatternStrings(
"one",
"two")
.build());
}
}

Import

WAF Regional Regex Pattern Set can be imported using the id, e.g.,

$ pulumi import aws:wafregional/regexPatternSet:RegexPatternSet example a1b2c3d4-d5f6-7777-8888-9999aaaabbbbcccc

Constructors

Link copied to clipboard
constructor(name: Output<String>? = null, regexPatternStrings: Output<List<String>>? = null)

Properties

Link copied to clipboard
val name: Output<String>? = null

The name or description of the Regex Pattern Set.

Link copied to clipboard
val regexPatternStrings: Output<List<String>>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): RegexPatternSetArgs