CfnIPSetMixinProps

class aws_cdk.mixins_preview.aws_wafregional.mixins.CfnIPSetMixinProps(*, ip_set_descriptors=None, name=None)

Bases: object

Properties for CfnIPSetPropsMixin.

Parameters:
  • ip_set_descriptors (Union[IResolvable, Sequence[Union[IResolvable, IPSetDescriptorProperty, Dict[str, Any]]], None]) – The IP address type ( IPV4 or IPV6 ) and the IP address range (in CIDR notation) that web requests originate from.

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-ipset.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_iPSet_mixin_props = wafregional_mixins.CfnIPSetMixinProps(
    ip_set_descriptors=[{
        "type": "type",
        "value": "value"
    }],
    name="name"
)

Attributes

ip_set_descriptors

The IP address type ( IPV4 or IPV6 ) and the IP address range (in CIDR notation) that web requests originate from.

See:

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

name

A friendly name or description of the IPSet .

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

See:

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