@Stability(value=Stable) public static final class CfnXssMatchSet.XssMatchTupleProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnXssMatchSet.XssMatchTupleProperty>
CfnXssMatchSet.XssMatchTupleProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnXssMatchSet.XssMatchTupleProperty |
build()
Builds the configured instance.
|
CfnXssMatchSet.XssMatchTupleProperty.Builder |
fieldToMatch(CfnXssMatchSet.FieldToMatchProperty fieldToMatch)
Sets the value of
CfnXssMatchSet.XssMatchTupleProperty.getFieldToMatch() |
CfnXssMatchSet.XssMatchTupleProperty.Builder |
fieldToMatch(IResolvable fieldToMatch)
Sets the value of
CfnXssMatchSet.XssMatchTupleProperty.getFieldToMatch() |
CfnXssMatchSet.XssMatchTupleProperty.Builder |
textTransformation(String textTransformation)
Sets the value of
CfnXssMatchSet.XssMatchTupleProperty.getTextTransformation() |
@Stability(value=Stable) public CfnXssMatchSet.XssMatchTupleProperty.Builder fieldToMatch(CfnXssMatchSet.FieldToMatchProperty fieldToMatch)
CfnXssMatchSet.XssMatchTupleProperty.getFieldToMatch()fieldToMatch - The part of a web request that you want AWS WAF to inspect, such as a specified header or a query string. This parameter is required.this@Stability(value=Stable) public CfnXssMatchSet.XssMatchTupleProperty.Builder fieldToMatch(IResolvable fieldToMatch)
CfnXssMatchSet.XssMatchTupleProperty.getFieldToMatch()fieldToMatch - The part of a web request that you want AWS WAF to inspect, such as a specified header or a query string. This parameter is required.this@Stability(value=Stable) public CfnXssMatchSet.XssMatchTupleProperty.Builder textTransformation(String textTransformation)
CfnXssMatchSet.XssMatchTupleProperty.getTextTransformation()textTransformation - Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF . This parameter is required.
If you specify a transformation, AWS WAF performs the transformation on FieldToMatch before inspecting it for a match.
You can only specify a single type of TextTransformation.
CMD_LINE
When you're concerned that attackers are injecting an operating system command line command and using unusual formatting to disguise some or all of the command, use this option to perform the following transformations:
COMPRESS_WHITE_SPACE
Use this option to replace the following characters with a space character (decimal 32):
COMPRESS_WHITE_SPACE also replaces multiple spaces with one space.
HTML_ENTITY_DECODE
Use this option to replace HTML-encoded characters with unencoded characters. HTML_ENTITY_DECODE performs the following operations:
(ampersand)quot; with "(ampersand)nbsp; with a non-breaking space, decimal 160(ampersand)lt; with a "less than" symbol(ampersand)gt; with >(ampersand)#xhhhh; , with the corresponding characters(ampersand)#nnnn; , with the corresponding charactersLOWERCASE
Use this option to convert uppercase letters (A-Z) to lowercase (a-z).
URL_DECODE
Use this option to decode a URL-encoded value.
NONE
Specify NONE if you don't want to perform any text transformations.
this@Stability(value=Stable) public CfnXssMatchSet.XssMatchTupleProperty build()
build in interface software.amazon.jsii.Builder<CfnXssMatchSet.XssMatchTupleProperty>CfnXssMatchSet.XssMatchTuplePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.