Class CfnRegexPatternSetPropsMixin
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 CfnRegexPatternSetPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnRegexPatternSetPropsMixin 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 RegexPatternSet to have AWS WAF inspect a web request component for a specific set of regular expression patterns.
You use a regex pattern set by providing its Amazon Resource Name (ARN) to the rule statement RegexPatternSetReferenceStatement , when you add a rule to a rule group or web ACL.
CloudformationResource: AWS::WAFv2::RegexPatternSet
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 cfnRegexPatternSetPropsMixin = new CfnRegexPatternSetPropsMixin(new CfnRegexPatternSetMixinProps {
Description = "description",
Name = "name",
RegularExpressionList = new [] { "regularExpressionList" },
Scope = "scope",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Synopsis
Constructors
| CfnRegexPatternSetPropsMixin(ICfnRegexPatternSetMixinProps, 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
CfnRegexPatternSetPropsMixin(ICfnRegexPatternSetMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::WAFv2::RegexPatternSet.
public CfnRegexPatternSetPropsMixin(ICfnRegexPatternSetMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnRegexPatternSetMixinProps
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 RegexPatternSet to have AWS WAF inspect a web request component for a specific set of regular expression patterns.
You use a regex pattern set by providing its Amazon Resource Name (ARN) to the rule statement RegexPatternSetReferenceStatement , when you add a rule to a rule group or web ACL.
CloudformationResource: AWS::WAFv2::RegexPatternSet
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 RegexPatternSet to have AWS WAF inspect a web request component for a specific set of regular expression patterns.
You use a regex pattern set by providing its Amazon Resource Name (ARN) to the rule statement RegexPatternSetReferenceStatement , when you add a rule to a rule group or web ACL.
CloudformationResource: AWS::WAFv2::RegexPatternSet
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 cfnRegexPatternSetPropsMixin = new CfnRegexPatternSetPropsMixin(new CfnRegexPatternSetMixinProps {
Description = "description",
Name = "name",
RegularExpressionList = new [] { "regularExpressionList" },
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 ICfnRegexPatternSetMixinProps 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 RegexPatternSet to have AWS WAF inspect a web request component for a specific set of regular expression patterns.
You use a regex pattern set by providing its Amazon Resource Name (ARN) to the rule statement RegexPatternSetReferenceStatement , when you add a rule to a rule group or web ACL.
CloudformationResource: AWS::WAFv2::RegexPatternSet
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 cfnRegexPatternSetPropsMixin = new CfnRegexPatternSetPropsMixin(new CfnRegexPatternSetMixinProps {
Description = "description",
Name = "name",
RegularExpressionList = new [] { "regularExpressionList" },
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 RegexPatternSet to have AWS WAF inspect a web request component for a specific set of regular expression patterns.
You use a regex pattern set by providing its Amazon Resource Name (ARN) to the rule statement RegexPatternSetReferenceStatement , when you add a rule to a rule group or web ACL.
CloudformationResource: AWS::WAFv2::RegexPatternSet
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 cfnRegexPatternSetPropsMixin = new CfnRegexPatternSetPropsMixin(new CfnRegexPatternSetMixinProps {
Description = "description",
Name = "name",
RegularExpressionList = new [] { "regularExpressionList" },
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 RegexPatternSet to have AWS WAF inspect a web request component for a specific set of regular expression patterns.
You use a regex pattern set by providing its Amazon Resource Name (ARN) to the rule statement RegexPatternSetReferenceStatement , when you add a rule to a rule group or web ACL.
CloudformationResource: AWS::WAFv2::RegexPatternSet
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 RegexPatternSet to have AWS WAF inspect a web request component for a specific set of regular expression patterns.
You use a regex pattern set by providing its Amazon Resource Name (ARN) to the rule statement RegexPatternSetReferenceStatement , when you add a rule to a rule group or web ACL.
CloudformationResource: AWS::WAFv2::RegexPatternSet
Mixin: true
ExampleMetadata: fixture=_generated