Amazon Network Firewall · JSON Structure

Openapi Action Definition Structure

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

Type: object Properties: 1
FirewallIntrusion DetectionNetwork SecurityVPC

ActionDefinition is a JSON Structure definition published by Amazon Network Firewall, describing 1 property. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

PublishMetricAction

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-network-firewall/refs/heads/main/json-structure/openapi-action-definition-structure.json",
  "name": "ActionDefinition",
  "description": "A custom action to use in stateless rule actions settings. This is used in <a>CustomAction</a>.",
  "type": "object",
  "properties": {
    "PublishMetricAction": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PublishMetricAction"
        },
        {
          "description": "<p>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.</p> <p>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. </p>"
        }
      ]
    }
  }
}