Class XssMatchSet
Provides a WAF Regional XSS Match Set Resource for use with Application Load Balancer.
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var xssMatchSet = new Aws.WafRegional.XssMatchSet("xssMatchSet", new Aws.WafRegional.XssMatchSetArgs
{
XssMatchTuples =
{
new Aws.WafRegional.Inputs.XssMatchSetXssMatchTupleArgs
{
FieldToMatch = new Aws.WafRegional.Inputs.XssMatchSetXssMatchTupleFieldToMatchArgs
{
Type = "URI",
},
TextTransformation = "NONE",
},
new Aws.WafRegional.Inputs.XssMatchSetXssMatchTupleArgs
{
FieldToMatch = new Aws.WafRegional.Inputs.XssMatchSetXssMatchTupleFieldToMatchArgs
{
Type = "QUERY_STRING",
},
TextTransformation = "NONE",
},
},
});
}
}
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 XssMatchSet : CustomResource
Constructors
View SourceXssMatchSet(String, XssMatchSetArgs, CustomResourceOptions)
Create a XssMatchSet resource with the given unique name, arguments, and options.
Declaration
public XssMatchSet(string name, XssMatchSetArgs args = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| XssMatchSetArgs | 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 of the set
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
XssMatchTuples
The parts of web requests that you want to inspect for cross-site scripting attacks.
Declaration
public Output<ImmutableArray<XssMatchSetXssMatchTuple>> XssMatchTuples { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<XssMatchSetXssMatchTuple>> |
Methods
View SourceGet(String, Input<String>, XssMatchSetState, CustomResourceOptions)
Get an existing XssMatchSet resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static XssMatchSet Get(string name, Input<string> id, XssMatchSetState 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. |
| XssMatchSetState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| XssMatchSet |