CfnIPSetProps

class aws_cdk.aws_wafregional.CfnIPSetProps(*, name, ip_set_descriptors=None)

Bases: object

Properties for defining a CfnIPSet.

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

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

Link

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.
import aws_cdk.aws_wafregional as wafregional

cfn_iPSet_props = wafregional.CfnIPSetProps(
    name="name",

    # the properties below are optional
    ip_set_descriptors=[{
        "type": "type",
        "value": "value"
    }]
)

Attributes

ip_set_descriptors

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

Link

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

Return type

Union[IResolvable, List[Union[IResolvable, IPSetDescriptorProperty]], None]

name

A friendly name or description of the IPSet .

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

Link

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

Return type

str