Interface ICfnFirewallPolicyProps
Properties for defining a CfnFirewallPolicy
.
Namespace: Amazon.CDK.AWS.NetworkFirewall
Assembly: Amazon.CDK.AWS.NetworkFirewall.dll
Syntax (csharp)
public interface ICfnFirewallPolicyProps
Syntax (vb)
Public Interface 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"
} }
},
FirewallPolicyName = "firewallPolicyName",
// the properties below are optional
Description = "description",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
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. |
Properties
Description
A description of the firewall policy.
virtual string Description { get; }
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.
object FirewallPolicy { get; }
Property Value
System.Object
Remarks
FirewallPolicyName
The descriptive name of the firewall policy.
string FirewallPolicyName { get; }
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.
virtual ICfnTag[] Tags { get; }
Property Value
ICfnTag[]