Show / Hide Table of Contents

Class CfnIPSetProps

Properties for defining a CfnIPSet.

Inheritance
object
CfnIPSetProps
Implements
ICfnIPSetProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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 CfnIPSet.

Properties

IpSetDescriptors

The IP address type ( IPV4 or IPV6 ) and the IP address range (in CIDR notation) that web requests originate from.

Name

The name of the IPSet .

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

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-ipset.html#cfn-waf-ipset-ipsetdescriptors

Name

The name of the IPSet .

public string Name { get; set; }
Property Value

string

Remarks

You can't change the name of an IPSet after you create it.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-ipset.html#cfn-waf-ipset-name

Implements

ICfnIPSetProps
Back to top Generated by DocFX