Interface CfnGeoMatchSetProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGeoMatchSetProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:36.092Z")
@Stability(Stable)
public interface CfnGeoMatchSetProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnGeoMatchSet.
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.*;
CfnGeoMatchSetProps cfnGeoMatchSetProps = CfnGeoMatchSetProps.builder()
.name("name")
// the properties below are optional
.geoMatchConstraints(List.of(GeoMatchConstraintProperty.builder()
.type("type")
.value("value")
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnGeoMatchSetPropsstatic final classAn implementation forCfnGeoMatchSetProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnGeoMatchSetProps.Builderbuilder()default ObjectAn array ofGeoMatchConstraintobjects, which contain the country that you want AWS WAF to search for.getName()A friendly name or description of theGeoMatchSet.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
A friendly name or description of theGeoMatchSet.You can't change the name of an
GeoMatchSetafter you create it. -
getGeoMatchConstraints
An array ofGeoMatchConstraintobjects, which contain the country that you want AWS WAF to search for. -
builder
- Returns:
- a
CfnGeoMatchSetProps.BuilderofCfnGeoMatchSetProps
-