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 the GeoMatchSet . You can’t change the name of an GeoMatchSet after you create it.

  • geo_match_constraints (Union[IResolvable, Sequence[Union[IResolvable, GeoMatchConstraintProperty, Dict[str, Any]]], None]) – An array of GeoMatchConstraint objects, which contain the country that you want AWS WAF to search for.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-geomatchset.html

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.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-geomatchset.html#cfn-wafregional-geomatchset-geomatchconstraints

name

A friendly name or description of the GeoMatchSet .

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

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-geomatchset.html#cfn-wafregional-geomatchset-name