Interface ICfnIPSetProps
Properties for defining a CfnIPSet
.
Namespace: Amazon.CDK.AWS.WAF
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnIPSetProps
Syntax (vb)
Public Interface ICfnIPSetProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-ipset.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.WAF;
var cfnIPSetProps = new CfnIPSetProps {
Name = "name",
// the properties below are optional
IpSetDescriptors = new [] { new Dictionary<string, string> {
{ "type", "type" },
{ "value", "value" }
} }
};
Synopsis
Properties
IpSetDescriptors | The IP address type ( |
Name | The name of the |
Properties
IpSetDescriptors
The IP address type ( IPV4
or IPV6
) and the IP address range (in CIDR notation) that web requests originate from.
virtual object IpSetDescriptors { get; }
Property Value
System.Object
Remarks
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.
Name
The name of the IPSet
.
string Name { get; }
Property Value
System.String
Remarks
You can't change the name of an IPSet
after you create it.