Class CfnXssMatchSet.Builder
java.lang.Object
software.amazon.awscdk.services.waf.CfnXssMatchSet.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnXssMatchSet>
- Enclosing class:
CfnXssMatchSet
@Stability(Stable)
public static final class CfnXssMatchSet.Builder
extends Object
implements software.amazon.jsii.Builder<CfnXssMatchSet>
A fluent builder for
CfnXssMatchSet.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnXssMatchSet.BuilderThe name, if any, of theXssMatchSet.xssMatchTuples(List<? extends Object> xssMatchTuples) Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.xssMatchTuples(IResolvable xssMatchTuples) Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.
-
Method Details
-
create
@Stability(Stable) public static CfnXssMatchSet.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnXssMatchSet.Builder.
-
name
The name, if any, of theXssMatchSet.- Parameters:
name- The name, if any, of theXssMatchSet. This parameter is required.- Returns:
this- See Also:
-
xssMatchTuples
Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.- Parameters:
xssMatchTuples- Specifies the parts of web requests that you want to inspect for cross-site scripting attacks. This parameter is required.- Returns:
this- See Also:
-
xssMatchTuples
@Stability(Stable) public CfnXssMatchSet.Builder xssMatchTuples(List<? extends Object> xssMatchTuples) Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.- Parameters:
xssMatchTuples- Specifies the parts of web requests that you want to inspect for cross-site scripting attacks. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnXssMatchSet>- Returns:
- a newly built instance of
CfnXssMatchSet.
-