public MyStack() { var exampleRegexPatternSet = new Aws.WafRegional.RegexPatternSet("exampleRegexPatternSet", new Aws.WafRegional.RegexPatternSetArgs { RegexPatternStrings = { "one", "two", }, }); var exampleRegexMatchSet = new Aws.WafRegional.RegexMatchSet("exampleRegexMatchSet", new Aws.WafRegional.RegexMatchSetArgs { RegexMatchTuples = { new Aws.WafRegional.Inputs.RegexMatchSetRegexMatchTupleArgs { FieldToMatch = new Aws.WafRegional.Inputs.RegexMatchSetRegexMatchTupleFieldToMatchArgs { Data = "User-Agent", Type = "HEADER", }, RegexPatternSetId = exampleRegexPatternSet.Id, TextTransformation = "NONE", }, }, }); }
public MyStack() { var example = new Aws.WafRegional.RegexPatternSet("example", new Aws.WafRegional.RegexPatternSetArgs { RegexPatternStrings = { "one", "two", }, }); }