Class CfnRuleGroup.PublishMetricActionProperty
Stateless inspection criteria that publishes the specified metrics to Amazon CloudWatch for the matching packet.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.NetworkFirewall
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnRuleGroup.PublishMetricActionProperty : CfnRuleGroup.IPublishMetricActionProperty
Syntax (vb)
Public Class CfnRuleGroup.PublishMetricActionProperty 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
PublishMetricActionProperty() | Stateless inspection criteria that publishes the specified metrics to Amazon CloudWatch for the matching packet. |
Properties
Dimensions | Stateless inspection criteria that publishes the specified metrics to Amazon CloudWatch for the matching packet. |
Constructors
PublishMetricActionProperty()
Stateless inspection criteria that publishes the specified metrics to Amazon CloudWatch for the matching packet.
public PublishMetricActionProperty()
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"
} }
};
Properties
Dimensions
Stateless inspection criteria that publishes the specified metrics to Amazon CloudWatch for the matching packet.
public object Dimensions { get; set; }