XssMatchSet

class XssMatchSet : KotlinCustomResource

Provides a WAF XSS Match Set Resource

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.waf.XssMatchSet;
import com.pulumi.aws.waf.XssMatchSetArgs;
import com.pulumi.aws.waf.inputs.XssMatchSetXssMatchTupleArgs;
import com.pulumi.aws.waf.inputs.XssMatchSetXssMatchTupleFieldToMatchArgs;
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 xssMatchSet = new XssMatchSet("xssMatchSet", XssMatchSetArgs.builder()
.xssMatchTuples(
XssMatchSetXssMatchTupleArgs.builder()
.fieldToMatch(XssMatchSetXssMatchTupleFieldToMatchArgs.builder()
.type("URI")
.build())
.textTransformation("NONE")
.build(),
XssMatchSetXssMatchTupleArgs.builder()
.fieldToMatch(XssMatchSetXssMatchTupleFieldToMatchArgs.builder()
.type("QUERY_STRING")
.build())
.textTransformation("NONE")
.build())
.build());
}
}

Import

WAF XSS Match Set can be imported using their ID, e.g.,

$ pulumi import aws:waf/xssMatchSet:XssMatchSet example a1b2c3d4-d5f6-7777-8888-9999aaaabbbbcccc

Properties

Link copied to clipboard
val arn: Output<String>

Amazon Resource Name (ARN)

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

The name or description of the SizeConstraintSet.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>
Link copied to clipboard

The parts of web requests that you want to inspect for cross-site scripting attacks.