AWS::WAFRegional::GeoMatchSet> AWS WAF Classic support will end on September 30, 2025. > > This is *AWS WAF Classic* documentation. For more information, see [AWS WAF Classic](https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide. > > *For the latest version of AWS WAF* , use the AWS WAF V2 API and see the [AWS WAF Developer Guide](https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html) . With the latest version, AWS WAF has a single set of endpoints for regional and global use. Contains one or more countries that AWS WAF will search for.
import { CfnGeoMatchSet } from 'aws-cdk-lib/aws-wafregional';Or use the module namespace:
import * as wafregional from 'aws-cdk-lib/aws-wafregional';
// wafregional.CfnGeoMatchSetConfiguration passed to the constructor as CfnGeoMatchSetProps.
nameRequiredstringA friendly name or description of the `GeoMatchSet` . You can't change the name of an `GeoMatchSet` after you create it.
geoMatchConstraintsOptionalIResolvable | IResolvable | GeoMatchConstraintProperty[]An array of `GeoMatchConstraint` objects, which contain the country that you want AWS WAF to search for.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-wafregionalAWS::WAFRegional::GeoMatchSet