libZSservicesZSamazonka-network-firewallZSamazonka-network-firewall
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.NetworkFirewall.Types.ActionDefinition

Description

 
Synopsis

Documentation

data ActionDefinition Source #

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

See: newActionDefinition smart constructor.

Constructors

ActionDefinition' 

Fields

  • publishMetricAction :: Maybe 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.

Instances

Instances details
Eq ActionDefinition Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ActionDefinition

Read ActionDefinition Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ActionDefinition

Show ActionDefinition Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ActionDefinition

Generic ActionDefinition Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ActionDefinition

Associated Types

type Rep ActionDefinition :: Type -> Type #

NFData ActionDefinition Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ActionDefinition

Methods

rnf :: ActionDefinition -> () #

Hashable ActionDefinition Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ActionDefinition

ToJSON ActionDefinition Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ActionDefinition

FromJSON ActionDefinition Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ActionDefinition

type Rep ActionDefinition Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ActionDefinition

type Rep ActionDefinition = D1 ('MetaData "ActionDefinition" "Amazonka.NetworkFirewall.Types.ActionDefinition" "libZSservicesZSamazonka-network-firewallZSamazonka-network-firewall" 'False) (C1 ('MetaCons "ActionDefinition'" 'PrefixI 'True) (S1 ('MetaSel ('Just "publishMetricAction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PublishMetricAction))))

newActionDefinition :: ActionDefinition Source #

Create a value of ActionDefinition with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:publishMetricAction:ActionDefinition', actionDefinition_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.

actionDefinition_publishMetricAction :: Lens' ActionDefinition (Maybe PublishMetricAction) Source #

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.