Interface CfnByteMatchSetProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnByteMatchSetProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-04T09:27:52.019Z")
@Stability(Stable)
public interface CfnByteMatchSetProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnByteMatchSet.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.waf.regional.*;
CfnByteMatchSetProps cfnByteMatchSetProps = CfnByteMatchSetProps.builder()
.name("name")
// the properties below are optional
.byteMatchTuples(List.of(ByteMatchTupleProperty.builder()
.fieldToMatch(FieldToMatchProperty.builder()
.type("type")
// the properties below are optional
.data("data")
.build())
.positionalConstraint("positionalConstraint")
.textTransformation("textTransformation")
// the properties below are optional
.targetString("targetString")
.targetStringBase64("targetStringBase64")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnByteMatchSetPropsstatic final classAn implementation forCfnByteMatchSetProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnByteMatchSetProps.Builderbuilder()default ObjectSpecifies the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings.getName()A friendly name or description of theByteMatchSet.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
A friendly name or description of theByteMatchSet.You can't change
Nameafter you create aByteMatchSet.- See Also:
-
getByteMatchTuples
Specifies the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnByteMatchSet.ByteMatchTupleProperty>- See Also:
-
builder
- Returns:
- a
CfnByteMatchSetProps.BuilderofCfnByteMatchSetProps
-