@Stability(value=Stable)
public static interface CfnGeoMatchSet.GeoMatchConstraintProperty
extends software.amazon.jsii.JsiiSerializable
For more information, see AWS WAF Classic in the developer guide.
For the latest version of AWS WAF , use the AWS WAF V2 API and see the AWS WAF Developer Guide . With the latest version, AWS WAF has a single set of endpoints for regional and global use.
The country from which web requests originate that you want AWS WAF to search for.
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.*;
GeoMatchConstraintProperty geoMatchConstraintProperty = GeoMatchConstraintProperty.builder()
.type("type")
.value("value")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnGeoMatchSet.GeoMatchConstraintProperty.Builder
A builder for
CfnGeoMatchSet.GeoMatchConstraintProperty |
static class |
CfnGeoMatchSet.GeoMatchConstraintProperty.Jsii$Proxy
An implementation for
CfnGeoMatchSet.GeoMatchConstraintProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnGeoMatchSet.GeoMatchConstraintProperty.Builder |
builder() |
String |
getType()
The type of geographical area you want AWS WAF to search for.
|
String |
getValue()
The country that you want AWS WAF to search for.
|
@Stability(value=Stable) @NotNull String getType()
Currently Country is the only valid value.
@Stability(value=Stable) @NotNull String getValue()
@Stability(value=Stable) static CfnGeoMatchSet.GeoMatchConstraintProperty.Builder builder()
Copyright © 2022. All rights reserved.