aws-cdk-lib.aws_wafregional.CfnGeoMatchSetProps

interface CfnGeoMatchSetProps

LanguageType name
.NETAmazon.CDK.AWS.WAFRegional.CfnGeoMatchSetProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awswafregional#CfnGeoMatchSetProps
Javasoftware.amazon.awscdk.services.waf.regional.CfnGeoMatchSetProps
Pythonaws_cdk.aws_wafregional.CfnGeoMatchSetProps
TypeScript aws-cdk-lib » 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 { 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

NameTypeDescription
namestringA friendly name or description of the GeoMatchSet .
geoMatchConstraints?IResolvable | IResolvable | GeoMatchConstraintProperty[]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 | GeoMatchConstraintProperty[] (optional)

An array of GeoMatchConstraint objects, which contain the country that you want AWS WAF to search for.