Class CfnRuleGroup.PublishMetricActionProperty
Stateless inspection criteria that publishes the specified metrics to Amazon CloudWatch for the matching packet.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.NetworkFirewall
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class PublishMetricActionProperty : Object, CfnRuleGroup.IPublishMetricActionProperty
Syntax (vb)
Public Class PublishMetricActionProperty
Inherits Object
Implements CfnRuleGroup.IPublishMetricActionProperty
Remarks
This setting defines a CloudWatch dimension value to be published.
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 publishMetricActionProperty = new PublishMetricActionProperty {
Dimensions = new [] { new DimensionProperty {
Value = "value"
} }
};
Synopsis
Constructors
Publish |
Properties
Dimensions |
Constructors
PublishMetricActionProperty()
public PublishMetricActionProperty()
Properties
Dimensions
public object Dimensions { get; set; }
Property Value
System.