Show / Hide Table of Contents

Class CfnFirewallPolicy.ActionDefinitionProperty

A custom action to use in stateless rule actions settings.

Inheritance
System.Object
CfnFirewallPolicy.ActionDefinitionProperty
Implements
CfnFirewallPolicy.IActionDefinitionProperty
Namespace: Amazon.CDK.AWS.NetworkFirewall
Assembly: Amazon.CDK.AWS.NetworkFirewall.dll
Syntax (csharp)
public class ActionDefinitionProperty : Object, CfnFirewallPolicy.IActionDefinitionProperty
Syntax (vb)
Public Class ActionDefinitionProperty
    Inherits Object
    Implements CfnFirewallPolicy.IActionDefinitionProperty
Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-firewallpolicy-actiondefinition.html

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 actionDefinitionProperty = new ActionDefinitionProperty {
    PublishMetricAction = new PublishMetricActionProperty {
        Dimensions = new [] { new DimensionProperty {
            Value = "value"
        } }
    }
};

Synopsis

Constructors

ActionDefinitionProperty()

Properties

PublishMetricAction

Stateless inspection criteria that publishes the specified metrics to Amazon CloudWatch for the matching packet.

Constructors

ActionDefinitionProperty()

public ActionDefinitionProperty()

Properties

PublishMetricAction

Stateless inspection criteria that publishes the specified metrics to Amazon CloudWatch for the matching packet.

public object PublishMetricAction { get; set; }
Property Value

System.Object

Remarks

This setting defines a CloudWatch dimension value to be published.

You can pair this custom action with any of the standard stateless rule actions. For example, you could pair this in a rule action with the standard action that forwards the packet for stateful inspection. Then, when a packet matches the rule, Network Firewall publishes metrics for the packet and forwards it.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-firewallpolicy-actiondefinition.html#cfn-networkfirewall-firewallpolicy-actiondefinition-publishmetricaction

Implements

CfnFirewallPolicy.IActionDefinitionProperty
Back to top Generated by DocFX