interface CfnGeoMatchSetProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.WAFRegional.CfnGeoMatchSetProps |
Java | software.amazon.awscdk.services.waf.regional.CfnGeoMatchSetProps |
Python | aws_cdk.aws_wafregional.CfnGeoMatchSetProps |
TypeScript | @aws-cdk/aws-wafregional » CfnGeoMatchSetProps |
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 * as wafregional from '@aws-cdk/aws-wafregional';
const cfnGeoMatchSetProps: wafregional.CfnGeoMatchSetProps = {
name: 'name',
// the properties below are optional
geoMatchConstraints: [{
type: 'type',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| name | string | A friendly name or description of the GeoMatchSet . |
| geo | IResolvable | IResolvable | Geo[] | An array of GeoMatchConstraint objects, which contain the country that you want AWS WAF to search for. |
name
Type:
string
A friendly name or description of the GeoMatchSet .
You can't change the name of an GeoMatchSet after you create it.
geoMatchConstraints?
Type:
IResolvable | IResolvable | Geo[]
(optional)
An array of GeoMatchConstraint objects, which contain the country that you want AWS WAF to search for.

.NET
Java
Python
TypeScript