Interface CfnRuleGroup.PublishMetricActionProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnRuleGroup.PublishMetricActionProperty.Jsii$Proxy
Enclosing class:
CfnRuleGroup

@Stability(Stable) public static interface CfnRuleGroup.PublishMetricActionProperty extends software.amazon.jsii.JsiiSerializable
Stateless inspection criteria that publishes the specified metrics to Amazon CloudWatch for the matching packet.

This setting defines a CloudWatch dimension value to be published.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.networkfirewall.*;
 PublishMetricActionProperty publishMetricActionProperty = PublishMetricActionProperty.builder()
         .dimensions(List.of(DimensionProperty.builder()
                 .value("value")
                 .build()))
         .build();