Show / Hide Table of Contents

Class CfnRuleGroupPropsMixin.ActionDefinitionProperty

A custom action to use in stateless rule actions settings.

Inheritance
object
CfnRuleGroupPropsMixin.ActionDefinitionProperty
Implements
CfnRuleGroupPropsMixin.IActionDefinitionProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.Mixins.Preview.AWS.NetworkFirewall.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnRuleGroupPropsMixin.ActionDefinitionProperty : CfnRuleGroupPropsMixin.IActionDefinitionProperty
Syntax (vb)
Public Class CfnRuleGroupPropsMixin.ActionDefinitionProperty Implements CfnRuleGroupPropsMixin.IActionDefinitionProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-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.Mixins.Preview.AWS.NetworkFirewall.Mixins;

             var actionDefinitionProperty = new ActionDefinitionProperty {
                 PublishMetricAction = new PublishMetricActionProperty {
                     Dimensions = new [] { new DimensionProperty {
                         Value = "value"
                     } }
                 }
             };

Synopsis

Constructors

ActionDefinitionProperty()

A custom action to use in stateless rule actions settings.

Properties

PublishMetricAction

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

Constructors

ActionDefinitionProperty()

A custom action to use in stateless rule actions settings.

public ActionDefinitionProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-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.Mixins.Preview.AWS.NetworkFirewall.Mixins;

             var actionDefinitionProperty = new ActionDefinitionProperty {
                 PublishMetricAction = new PublishMetricActionProperty {
                     Dimensions = new [] { new DimensionProperty {
                         Value = "value"
                     } }
                 }
             };

Properties

PublishMetricAction

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

public object? PublishMetricAction { get; set; }
Property Value

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.

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

Type union: either IResolvable or CfnRuleGroupPropsMixin.IPublishMetricActionProperty

Implements

CfnRuleGroupPropsMixin.IActionDefinitionProperty
Back to top Generated by DocFX