CfnIPSetMixinProps
- class aws_cdk.mixins_preview.aws_waf.mixins.CfnIPSetMixinProps(*, ip_set_descriptors=None, name=None)
Bases:
objectProperties for CfnIPSetPropsMixin.
- Parameters:
ip_set_descriptors (
Union[IResolvable,Sequence[Union[IResolvable,IPSetDescriptorProperty,Dict[str,Any]]],None]) – The IP address type (IPV4orIPV6) and the IP address range (in CIDR notation) that web requests originate from. If theWebACLis associated with an Amazon CloudFront distribution and the viewer did not use an HTTP proxy or a load balancer to send the request, this is the value of the c-ip field in the CloudFront access logs.name (
Optional[str]) – The name of theIPSet. You can’t change the name of anIPSetafter you create it.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-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_waf import mixins as waf_mixins cfn_iPSet_mixin_props = waf_mixins.CfnIPSetMixinProps( ip_set_descriptors=[{ "type": "type", "value": "value" }], name="name" )
Attributes
- ip_set_descriptors
The IP address type (
IPV4orIPV6) and the IP address range (in CIDR notation) that web requests originate from.If the
WebACLis associated with an Amazon CloudFront distribution and the viewer did not use an HTTP proxy or a load balancer to send the request, this is the value of the c-ip field in the CloudFront access logs.
- name
The name of the
IPSet.You can’t change the name of an
IPSetafter you create it.