Interface CfnSizeConstraintSetProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSizeConstraintSetProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:48.736Z")
@Stability(Stable)
public interface CfnSizeConstraintSetProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnSizeConstraintSet.
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.*;
CfnSizeConstraintSetProps cfnSizeConstraintSetProps = CfnSizeConstraintSetProps.builder()
.name("name")
// the properties below are optional
.sizeConstraints(List.of(SizeConstraintProperty.builder()
.comparisonOperator("comparisonOperator")
.fieldToMatch(FieldToMatchProperty.builder()
.type("type")
// the properties below are optional
.data("data")
.build())
.size(123)
.textTransformation("textTransformation")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSizeConstraintSetPropsstatic final classAn implementation forCfnSizeConstraintSetProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name, if any, of theSizeConstraintSet.- See Also:
-
getSizeConstraints
The size constraint and the part of the web request to check.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnSizeConstraintSet.SizeConstraintProperty>- See Also:
-
builder
- Returns:
- a
CfnSizeConstraintSetProps.BuilderofCfnSizeConstraintSetProps
-