CfnGeoMatchSetProps¶
-
class
aws_cdk.aws_wafregional.
CfnGeoMatchSetProps
(*, name, geo_match_constraints=None)¶ Bases:
object
Properties for defining a
CfnGeoMatchSet
.- Parameters
name (
str
) – A friendly name or description of theGeoMatchSet
. You can’t change the name of anGeoMatchSet
after you create it.geo_match_constraints (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,GeoMatchConstraintProperty
]],None
]) – An array ofGeoMatchConstraint
objects, which contain the country that you want AWS WAF to search for.
- Link
- ExampleMetadata
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.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
GeoMatchConstraint
objects, 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
GeoMatchSet
after you create it.