interface CfnIPSetProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.WAF.CfnIPSetProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awswaf#CfnIPSetProps |
![]() | software.amazon.awscdk.services.waf.CfnIPSetProps |
![]() | aws_cdk.aws_waf.CfnIPSetProps |
![]() | aws-cdk-lib » aws_waf » CfnIPSetProps |
Properties for defining a CfnIPSet
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-ipset.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_waf as waf } from 'aws-cdk-lib';
const cfnIPSetProps: waf.CfnIPSetProps = {
name: 'name',
// the properties below are optional
ipSetDescriptors: [{
type: 'type',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
name | string | The name 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
The name 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.
If the WebACL
is 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.