@Stability(value=Stable)
public static interface CfnRuleGroup.ActionDefinitionProperty
extends software.amazon.jsii.JsiiSerializable
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.*;
ActionDefinitionProperty actionDefinitionProperty = ActionDefinitionProperty.builder()
.publishMetricAction(PublishMetricActionProperty.builder()
.dimensions(List.of(DimensionProperty.builder()
.value("value")
.build()))
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnRuleGroup.ActionDefinitionProperty.Builder
A builder for
CfnRuleGroup.ActionDefinitionProperty |
static class |
CfnRuleGroup.ActionDefinitionProperty.Jsii$Proxy
An implementation for
CfnRuleGroup.ActionDefinitionProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnRuleGroup.ActionDefinitionProperty.Builder |
builder() |
default Object |
getPublishMetricAction()
Stateless inspection criteria that publishes the specified metrics to Amazon CloudWatch for the matching packet.
|
@Stability(value=Stable) @Nullable default Object getPublishMetricAction()
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.
@Stability(value=Stable) static CfnRuleGroup.ActionDefinitionProperty.Builder builder()
Copyright © 2022. All rights reserved.