interface CfnGeoMatchSetProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.WAFRegional.CfnGeoMatchSetProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awswafregional#CfnGeoMatchSetProps |
Java | software.amazon.awscdk.services.waf.regional.CfnGeoMatchSetProps |
Python | aws_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
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.