Class RegexPatternSet
Provides a WAF Regional Regex Pattern Set Resource
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var example = new Aws.WafRegional.RegexPatternSet("example", new Aws.WafRegional.RegexPatternSetArgs
{
RegexPatternStrings =
{
"one",
"two",
},
});
}
}
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.WafRegional
Assembly: Pulumi.Aws.dll
Syntax
public class RegexPatternSet : CustomResource
Constructors
View SourceRegexPatternSet(String, RegexPatternSetArgs, CustomResourceOptions)
Create a RegexPatternSet resource with the given unique name, arguments, and options.
Declaration
public RegexPatternSet(string name, RegexPatternSetArgs args = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| RegexPatternSetArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceName
The name or description of the Regex Pattern Set.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
RegexPatternStrings
A list of regular expression (regex) patterns that you want AWS WAF to search for, such as B[a@]dB[o0]t.
Declaration
public Output<ImmutableArray<string>> RegexPatternStrings { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
Methods
View SourceGet(String, Input<String>, RegexPatternSetState, CustomResourceOptions)
Get an existing RegexPatternSet resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static RegexPatternSet Get(string name, Input<string> id, RegexPatternSetState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| RegexPatternSetState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| RegexPatternSet |