interface CfnIPSetProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.WAFRegional.CfnIPSetProps |
Java | software.amazon.awscdk.services.waf.regional.CfnIPSetProps |
Python | aws_cdk.aws_wafregional.CfnIPSetProps |
TypeScript | @aws-cdk/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 * as wafregional from '@aws-cdk/aws-wafregional';
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.