Class CfnIPSetProps
Properties for defining a CfnIPSet.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.WAF
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnIPSetProps : ICfnIPSetProps
Syntax (vb)
Public Class CfnIPSetProps Implements 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
Constructors
| CfnIPSetProps() | Properties for defining a |
Properties
| IpSetDescriptors | The IP address type ( |
| Name | The name of the |
Constructors
CfnIPSetProps()
Properties for defining a CfnIPSet.
public CfnIPSetProps()
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" }
} }
};
Properties
IpSetDescriptors
The IP address type ( IPV4 or IPV6 ) and the IP address range (in CIDR notation) that web requests originate from.
public object? IpSetDescriptors { get; set; }
Property Value
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.
Type union: either IResolvable or (either IResolvable or CfnIPSet.IIPSetDescriptorProperty)[]
Name
The name of the IPSet .
public string Name { get; set; }
Property Value
Remarks
You can't change the name of an IPSet after you create it.