aws-cdk-lib.aws_wafregional.CfnIPSetProps

interface CfnIPSetProps

LanguageType name
.NETAmazon.CDK.AWS.WAFRegional.CfnIPSetProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awswafregional#CfnIPSetProps
Javasoftware.amazon.awscdk.services.waf.regional.CfnIPSetProps
Pythonaws_cdk.aws_wafregional.CfnIPSetProps
TypeScript aws-cdk-lib » aws_wafregional » CfnIPSetProps

Properties for defining a CfnIPSet.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wafregional as wafregional } from 'aws-cdk-lib';
const cfnIPSetProps: wafregional.CfnIPSetProps = {
  name: 'name',

  // the properties below are optional
  ipSetDescriptors: [{
    type: 'type',
    value: 'value',
  }],
};

Properties

NameTypeDescription
namestringA friendly name or description of the IPSet .
ipSetDescriptors?IResolvable | IResolvable | IPSetDescriptorProperty[]The IP address type ( IPV4 or IPV6 ) and the IP address range (in CIDR notation) that web requests originate from.

name

Type: string

A friendly name or description of the IPSet .

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


ipSetDescriptors?

Type: IResolvable | IResolvable | IPSetDescriptorProperty[] (optional)

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