« blib/lib/Paws/Neptune/VpcSecurityGroupMembership.pm
↑ Summary
blib/lib/Paws/NetworkFirewall/Address.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::NetworkFirewall::ActionDefinition; | ||
| 3 | use Moose; | ||
| 4 | has PublishMetricAction => (is => 'ro', isa => 'Paws::NetworkFirewall::PublishMetricAction'); | ||
| 5 | |||
| 6 | 1; | ||
| 7 | |||
| 8 | ### main pod documentation begin ### | ||
| 9 | |||
| 10 | =head1 NAME | ||
| 11 | |||
| 12 | Paws::NetworkFirewall::ActionDefinition | ||
| 13 | |||
| 14 | =head1 USAGE | ||
| 15 | |||
| 16 | This class represents one of two things: | ||
| 17 | |||
| 18 | =head3 Arguments in a call to a service | ||
| 19 | |||
| 20 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 21 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 22 | |||
| 23 | As an example, if Att1 is expected to be a Paws::NetworkFirewall::ActionDefinition object: | ||
| 24 | |||
| 25 | $service_obj->Method(Att1 => { PublishMetricAction => $value, ..., PublishMetricAction => $value }); | ||
| 26 | |||
| 27 | =head3 Results returned from an API call | ||
| 28 | |||
| 29 | Use accessors for each attribute. If Att1 is expected to be an Paws::NetworkFirewall::ActionDefinition object: | ||
| 30 | |||
| 31 | $result = $service_obj->Method(...); | ||
| 32 | $result->Att1->PublishMetricAction | ||
| 33 | |||
| 34 | =head1 DESCRIPTION | ||
| 35 | |||
| 36 | A custom action to use in stateless rule actions settings. This is used | ||
| 37 | in CustomAction. | ||
| 38 | |||
| 39 | =head1 ATTRIBUTES | ||
| 40 | |||
| 41 | |||
| 42 | =head2 PublishMetricAction => L<Paws::NetworkFirewall::PublishMetricAction> | ||
| 43 | |||
| 44 | Stateless inspection criteria that publishes the specified metrics to | ||
| 45 | Amazon CloudWatch for the matching packet. This setting defines a | ||
| 46 | CloudWatch dimension value to be published. | ||
| 47 | |||
| 48 | You can pair this custom action with any of the standard stateless rule | ||
| 49 | actions. For example, you could pair this in a rule action with the | ||
| 50 | standard action that forwards the packet for stateful inspection. Then, | ||
| 51 | when a packet matches the rule, Network Firewall publishes metrics for | ||
| 52 | the packet and forwards it. | ||
| 53 | |||
| 54 | |||
| 55 | |||
| 56 | =head1 SEE ALSO | ||
| 57 | |||
| 58 | This class forms part of L<Paws>, describing an object used in L<Paws::NetworkFirewall> | ||
| 59 | |||
| 60 | =head1 BUGS and CONTRIBUTIONS | ||
| 61 | |||
| 62 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 63 | |||
| 64 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 65 | |||
| 66 | =cut | ||
| 67 |