Skip to content
v2.275.0

CfnGeoMatchSetProps Struct ​

Properties for defining a CfnGeoMatchSet.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wafregional as wafregional } from 'aws-cdk-lib';
const cfnGeoMatchSetProps: wafregional.CfnGeoMatchSetProps = {
  name: 'name',

  // the properties below are optional
  geoMatchConstraints: [{
    type: 'type',
    value: 'value',
  }],
};

Properties ​

geoMatchConstraintsoptionalIResolvable | IResolvable | CfnGeoMatchSet.GeoMatchConstraintProperty[]geo_match_constraintsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, GeoMatchConstraintProperty]]]geoMatchConstraintsoptionalIResolvableGeoMatchConstraintsoptionalIResolvableGeoMatchConstraintsoptionalinterface{}#
An array of `GeoMatchConstraint` objects, which contain the country that you want AWS WAF to search for.
namestringnamestrnameStringNamestringName*stringrequired#
A friendly name or description of the `GeoMatchSet` .

You can't change the name of an GeoMatchSet after you create it.