Class CfnRuleGroup.RuleVariablesProperty
Settings that are available for use in the rules in the RuleGroup
where this is defined.
Inheritance
System.Object
CfnRuleGroup.RuleVariablesProperty
Implements
Namespace: Amazon.CDK.AWS.NetworkFirewall
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class RuleVariablesProperty : Object, CfnRuleGroup.IRuleVariablesProperty
Syntax (vb)
Public Class RuleVariablesProperty
Inherits Object
Implements CfnRuleGroup.IRuleVariablesProperty
Remarks
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.NetworkFirewall;
var ruleVariablesProperty = new RuleVariablesProperty {
IpSets = new Dictionary<string, object> {
{ "ipSetsKey", new Dictionary<string, string[]?> {
{ "definition", new [] { "definition" } }
} }
},
PortSets = new Dictionary<string, object> {
{ "portSetsKey", new PortSetProperty {
Definition = new [] { "definition" }
} }
}
};
Synopsis
Constructors
RuleVariablesProperty() |
Properties
IpSets | A list of IP addresses and address ranges, in CIDR notation. |
PortSets | A list of port ranges. |
Constructors
RuleVariablesProperty()
public RuleVariablesProperty()
Properties
IpSets
A list of IP addresses and address ranges, in CIDR notation.
public object IpSets { get; set; }
Property Value
System.Object
Remarks
PortSets
A list of port ranges.
public object PortSets { get; set; }
Property Value
System.Object