CfnGeoMatchSetProps
- class aws_cdk.aws_wafregional.CfnGeoMatchSetProps(*, name, geo_match_constraints=None)
Bases:
objectProperties for defining a
CfnGeoMatchSet.- Parameters:
name (
str) – A friendly name or description of theGeoMatchSet. You can’t change the name of anGeoMatchSetafter you create it.geo_match_constraints (
Union[IResolvable,Sequence[Union[IResolvable,GeoMatchConstraintProperty,Dict[str,Any]]],None]) – An array ofGeoMatchConstraintobjects, which contain the country that you want AWS WAF to search for.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_wafregional as wafregional cfn_geo_match_set_props = wafregional.CfnGeoMatchSetProps( name="name", # the properties below are optional geo_match_constraints=[wafregional.CfnGeoMatchSet.GeoMatchConstraintProperty( type="type", value="value" )] )
Attributes
- geo_match_constraints
An array of
GeoMatchConstraintobjects, which contain the country that you want AWS WAF to search for.
- name
A friendly name or description of the
GeoMatchSet.You can’t change the name of an
GeoMatchSetafter you create it.