interface CfnIPSetProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.WAFRegional.CfnIPSetProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awswafregional#CfnIPSetProps |
Java | software.amazon.awscdk.services.waf.regional.CfnIPSetProps |
Python | aws_cdk.aws_wafregional.CfnIPSetProps |
TypeScript | aws-cdk-lib » aws_wafregional » CfnIPSetProps |
Properties for defining a CfnIPSet.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-ipset.html
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
| Name | Type | Description |
|---|---|---|
| name | string | A friendly name or description of the IPSet . |
| ip | IResolvable | (IResolvable | IPSet)[] | 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 | IPSet)[]
(optional)
The IP address type ( IPV4 or IPV6 ) and the IP address range (in CIDR notation) that web requests originate from.

.NET
Go
Java
Python
TypeScript