Class CfnFirewallPolicyPropsMixin.PolicyVariablesProperty
Contains variables that you can use to override default Suricata settings in your firewall policy.
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.NetworkFirewall.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnFirewallPolicyPropsMixin.PolicyVariablesProperty : CfnFirewallPolicyPropsMixin.IPolicyVariablesProperty
Syntax (vb)
Public Class CfnFirewallPolicyPropsMixin.PolicyVariablesProperty Implements CfnFirewallPolicyPropsMixin.IPolicyVariablesProperty
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.Mixins.Preview.AWS.NetworkFirewall.Mixins;
var policyVariablesProperty = new PolicyVariablesProperty {
RuleVariables = new Dictionary<string, object> {
{ "ruleVariablesKey", new Dictionary<string, string[]?> {
{ "definition", new [] { "definition" } }
} }
}
};
Synopsis
Constructors
| PolicyVariablesProperty() | Contains variables that you can use to override default Suricata settings in your firewall policy. |
Properties
| RuleVariables | The IPv4 or IPv6 addresses in CIDR notation to use for the Suricata |
Constructors
PolicyVariablesProperty()
Contains variables that you can use to override default Suricata settings in your firewall policy.
public PolicyVariablesProperty()
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.Mixins.Preview.AWS.NetworkFirewall.Mixins;
var policyVariablesProperty = new PolicyVariablesProperty {
RuleVariables = new Dictionary<string, object> {
{ "ruleVariablesKey", new Dictionary<string, string[]?> {
{ "definition", new [] { "definition" } }
} }
}
};
Properties
RuleVariables
The IPv4 or IPv6 addresses in CIDR notation to use for the Suricata HOME_NET variable.
public object? RuleVariables { get; set; }
Property Value
Remarks
If your firewall uses an inspection VPC, you might want to override the HOME_NET variable with the CIDRs of your home networks. If you don't override HOME_NET with your own CIDRs, Network Firewall by default uses the CIDR of your inspection VPC.
Type union: either IResolvable or Dictionary<string, either IResolvable or CfnFirewallPolicyPropsMixin.IIPSetProperty>