Class CfnFirewallPolicyProps
Properties for defining a CfnFirewallPolicy
.
Inheritance
System.Object
CfnFirewallPolicyProps
Implements
Namespace: Amazon.CDK.AWS.NetworkFirewall
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnFirewallPolicyProps : Object, ICfnFirewallPolicyProps
Syntax (vb)
Public Class CfnFirewallPolicyProps
Inherits Object
Implements ICfnFirewallPolicyProps
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 cfnFirewallPolicyProps = new CfnFirewallPolicyProps {
FirewallPolicy = new FirewallPolicyProperty {
StatelessDefaultActions = new [] { "statelessDefaultActions" },
StatelessFragmentDefaultActions = new [] { "statelessFragmentDefaultActions" },
// the properties below are optional
PolicyVariables = new PolicyVariablesProperty {
RuleVariables = new Dictionary<string, object> {
{ "ruleVariablesKey", new Dictionary<string, string[]?> {
{ "definition", new [] { "definition" } }
} }
}
},
StatefulDefaultActions = new [] { "statefulDefaultActions" },
StatefulEngineOptions = new StatefulEngineOptionsProperty {
RuleOrder = "ruleOrder",
StreamExceptionPolicy = "streamExceptionPolicy"
},
StatefulRuleGroupReferences = new [] { new StatefulRuleGroupReferenceProperty {
ResourceArn = "resourceArn",
// the properties below are optional
Override = new StatefulRuleGroupOverrideProperty {
Action = "action"
},
Priority = 123
} },
StatelessCustomActions = new [] { new CustomActionProperty {
ActionDefinition = new ActionDefinitionProperty {
PublishMetricAction = new PublishMetricActionProperty {
Dimensions = new [] { new DimensionProperty {
Value = "value"
} }
}
},
ActionName = "actionName"
} },
StatelessRuleGroupReferences = new [] { new StatelessRuleGroupReferenceProperty {
Priority = 123,
ResourceArn = "resourceArn"
} },
TlsInspectionConfigurationArn = "tlsInspectionConfigurationArn"
},
FirewallPolicyName = "firewallPolicyName",
// the properties below are optional
Description = "description",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnFirewallPolicyProps() |
Properties
Description | A description of the firewall policy. |
FirewallPolicy | The traffic filtering behavior of a firewall policy, defined in a collection of stateless and stateful rule groups and other settings. |
FirewallPolicyName | The descriptive name of the firewall policy. |
Tags | An array of key-value pairs to apply to this resource. |
Constructors
CfnFirewallPolicyProps()
public CfnFirewallPolicyProps()
Properties
Description
A description of the firewall policy.
public string Description { get; set; }
Property Value
System.String
Remarks
FirewallPolicy
The traffic filtering behavior of a firewall policy, defined in a collection of stateless and stateful rule groups and other settings.
public object FirewallPolicy { get; set; }
Property Value
System.Object
Remarks
FirewallPolicyName
The descriptive name of the firewall policy.
public string FirewallPolicyName { get; set; }
Property Value
System.String
Remarks
You can't change the name of a firewall policy after you create it.
Tags
An array of key-value pairs to apply to this resource.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]