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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRuleGroup.PublishMetricActionPropertystatic final classAn implementation forCfnRuleGroup.PublishMetricActionProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnRuleGroup.DimensionProperty>Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDimensions
Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnRuleGroup.DimensionProperty>- See Also:
-
builder
-