Class: Aws::NetworkFirewall::Types::ActionDefinition

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-networkfirewall/types.rb

Overview

A custom action to use in stateless rule actions settings. This is used in CustomAction.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#publish_metric_actionTypes::PublishMetricAction

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.



30
31
32
33
34
# File 'lib/aws-sdk-networkfirewall/types.rb', line 30

class ActionDefinition < Struct.new(
  :publish_metric_action)
  SENSITIVE = []
  include Aws::Structure
end