Class CfnIPSetPropsMixin
This is the latest version of AWS WAF , named AWS WAF V2, released in November, 2019.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.WAFv2
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnIPSetPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnIPSetPropsMixin Inherits Mixin Implements IMixin
Remarks
For information, including how to migrate your AWS WAF resources from the prior release, see the AWS WAF developer guide .
Use an IPSet to identify web requests that originate from specific IP addresses or ranges of IP addresses. For example, if you're receiving a lot of requests from a ranges of IP addresses, you can configure AWS WAF to block them using an IP set that lists those IP addresses.
You use an IP set by providing its Amazon Resource Name (ARN) to the rule statement IPSetReferenceStatement , when you add a rule to a rule group or web ACL.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-ipset.html
CloudformationResource: AWS::WAFv2::IPSet
Mixin: true
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.CfnPropertyMixins.AWS.WAFv2;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnIPSetPropsMixin = new CfnIPSetPropsMixin(new CfnIPSetMixinProps {
Addresses = new [] { "addresses" },
Description = "description",
IpAddressVersion = "ipAddressVersion",
Name = "name",
Scope = "scope",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Synopsis
Constructors
| CfnIPSetPropsMixin(ICfnIPSetMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | This is the latest version of AWS WAF , named AWS WAF V2, released in November, 2019. |
| Props | This is the latest version of AWS WAF , named AWS WAF V2, released in November, 2019. |
| Strategy | This is the latest version of AWS WAF , named AWS WAF V2, released in November, 2019. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnIPSetPropsMixin(ICfnIPSetMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::WAFv2::IPSet.
public CfnIPSetPropsMixin(ICfnIPSetMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnIPSetMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
For information, including how to migrate your AWS WAF resources from the prior release, see the AWS WAF developer guide .
Use an IPSet to identify web requests that originate from specific IP addresses or ranges of IP addresses. For example, if you're receiving a lot of requests from a ranges of IP addresses, you can configure AWS WAF to block them using an IP set that lists those IP addresses.
You use an IP set by providing its Amazon Resource Name (ARN) to the rule statement IPSetReferenceStatement , when you add a rule to a rule group or web ACL.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-ipset.html
CloudformationResource: AWS::WAFv2::IPSet
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
This is the latest version of AWS WAF , named AWS WAF V2, released in November, 2019.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
For information, including how to migrate your AWS WAF resources from the prior release, see the AWS WAF developer guide .
Use an IPSet to identify web requests that originate from specific IP addresses or ranges of IP addresses. For example, if you're receiving a lot of requests from a ranges of IP addresses, you can configure AWS WAF to block them using an IP set that lists those IP addresses.
You use an IP set by providing its Amazon Resource Name (ARN) to the rule statement IPSetReferenceStatement , when you add a rule to a rule group or web ACL.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-ipset.html
CloudformationResource: AWS::WAFv2::IPSet
Mixin: true
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.CfnPropertyMixins.AWS.WAFv2;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnIPSetPropsMixin = new CfnIPSetPropsMixin(new CfnIPSetMixinProps {
Addresses = new [] { "addresses" },
Description = "description",
IpAddressVersion = "ipAddressVersion",
Name = "name",
Scope = "scope",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Props
This is the latest version of AWS WAF , named AWS WAF V2, released in November, 2019.
protected virtual ICfnIPSetMixinProps Props { get; }
Property Value
Remarks
For information, including how to migrate your AWS WAF resources from the prior release, see the AWS WAF developer guide .
Use an IPSet to identify web requests that originate from specific IP addresses or ranges of IP addresses. For example, if you're receiving a lot of requests from a ranges of IP addresses, you can configure AWS WAF to block them using an IP set that lists those IP addresses.
You use an IP set by providing its Amazon Resource Name (ARN) to the rule statement IPSetReferenceStatement , when you add a rule to a rule group or web ACL.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-ipset.html
CloudformationResource: AWS::WAFv2::IPSet
Mixin: true
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.CfnPropertyMixins.AWS.WAFv2;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnIPSetPropsMixin = new CfnIPSetPropsMixin(new CfnIPSetMixinProps {
Addresses = new [] { "addresses" },
Description = "description",
IpAddressVersion = "ipAddressVersion",
Name = "name",
Scope = "scope",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Strategy
This is the latest version of AWS WAF , named AWS WAF V2, released in November, 2019.
protected virtual IMergeStrategy Strategy { get; }
Property Value
Remarks
For information, including how to migrate your AWS WAF resources from the prior release, see the AWS WAF developer guide .
Use an IPSet to identify web requests that originate from specific IP addresses or ranges of IP addresses. For example, if you're receiving a lot of requests from a ranges of IP addresses, you can configure AWS WAF to block them using an IP set that lists those IP addresses.
You use an IP set by providing its Amazon Resource Name (ARN) to the rule statement IPSetReferenceStatement , when you add a rule to a rule group or web ACL.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-ipset.html
CloudformationResource: AWS::WAFv2::IPSet
Mixin: true
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.CfnPropertyMixins.AWS.WAFv2;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnIPSetPropsMixin = new CfnIPSetPropsMixin(new CfnIPSetMixinProps {
Addresses = new [] { "addresses" },
Description = "description",
IpAddressVersion = "ipAddressVersion",
Name = "name",
Scope = "scope",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override void ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Overrides
Remarks
For information, including how to migrate your AWS WAF resources from the prior release, see the AWS WAF developer guide .
Use an IPSet to identify web requests that originate from specific IP addresses or ranges of IP addresses. For example, if you're receiving a lot of requests from a ranges of IP addresses, you can configure AWS WAF to block them using an IP set that lists those IP addresses.
You use an IP set by providing its Amazon Resource Name (ARN) to the rule statement IPSetReferenceStatement , when you add a rule to a rule group or web ACL.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-ipset.html
CloudformationResource: AWS::WAFv2::IPSet
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
For information, including how to migrate your AWS WAF resources from the prior release, see the AWS WAF developer guide .
Use an IPSet to identify web requests that originate from specific IP addresses or ranges of IP addresses. For example, if you're receiving a lot of requests from a ranges of IP addresses, you can configure AWS WAF to block them using an IP set that lists those IP addresses.
You use an IP set by providing its Amazon Resource Name (ARN) to the rule statement IPSetReferenceStatement , when you add a rule to a rule group or web ACL.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-ipset.html
CloudformationResource: AWS::WAFv2::IPSet
Mixin: true
ExampleMetadata: fixture=_generated