CfnGeoMatchSetMixinProps

class aws_cdk.mixins_preview.aws_wafregional.mixins.CfnGeoMatchSetMixinProps(*, geo_match_constraints=None, name=None)

Bases: object

Properties for CfnGeoMatchSetPropsMixin.

Parameters:
  • 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.

  • name (Optional[str]) – A friendly name or description of the GeoMatchSet . You can’t change the name of an GeoMatchSet after you create it.

See:

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.
from aws_cdk.mixins_preview.aws_wafregional import mixins as wafregional_mixins

cfn_geo_match_set_mixin_props = wafregional_mixins.CfnGeoMatchSetMixinProps(
    geo_match_constraints=[wafregional_mixins.CfnGeoMatchSetPropsMixin.GeoMatchConstraintProperty(
        type="type",
        value="value"
    )],
    name="name"
)

Attributes

geo_match_constraints

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

See:

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.

See:

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