class Aws::NetworkFirewall::Types::ActionDefinition
A custom action to use in stateless rule actions settings. This is used in CustomAction
.
@note When making an API call, you may pass ActionDefinition
data as a hash: { publish_metric_action: { dimensions: [ # required { value: "DimensionValue", # required }, ], }, }
@!attribute [rw] publish_metric_action
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. 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. @return [Types::PublishMetricAction]
@see docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/ActionDefinition AWS API Documentation
Constants
- SENSITIVE