« blib/lib/Paws/NetworkFirewall/FirewallStatus.pm
↑ Summary
blib/lib/Paws/NetworkFirewall/IPSet.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::NetworkFirewall::Header; | ||
| 3 | use Moose; | ||
| 4 | has Destination => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has DestinationPort => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | has Direction => (is => 'ro', isa => 'Str', required => 1); | ||
| 7 | has Protocol => (is => 'ro', isa => 'Str', required => 1); | ||
| 8 | has Source => (is => 'ro', isa => 'Str', required => 1); | ||
| 9 | has SourcePort => (is => 'ro', isa => 'Str', required => 1); | ||
| 10 | |||
| 11 | 1; | ||
| 12 | |||
| 13 | ### main pod documentation begin ### | ||
| 14 | |||
| 15 | =head1 NAME | ||
| 16 | |||
| 17 | Paws::NetworkFirewall::Header | ||
| 18 | |||
| 19 | =head1 USAGE | ||
| 20 | |||
| 21 | This class represents one of two things: | ||
| 22 | |||
| 23 | =head3 Arguments in a call to a service | ||
| 24 | |||
| 25 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 26 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 27 | |||
| 28 | As an example, if Att1 is expected to be a Paws::NetworkFirewall::Header object: | ||
| 29 | |||
| 30 | $service_obj->Method(Att1 => { Destination => $value, ..., SourcePort => $value }); | ||
| 31 | |||
| 32 | =head3 Results returned from an API call | ||
| 33 | |||
| 34 | Use accessors for each attribute. If Att1 is expected to be an Paws::NetworkFirewall::Header object: | ||
| 35 | |||
| 36 | $result = $service_obj->Method(...); | ||
| 37 | $result->Att1->Destination | ||
| 38 | |||
| 39 | =head1 DESCRIPTION | ||
| 40 | |||
| 41 | The 5-tuple criteria for AWS Network Firewall to use to inspect packet | ||
| 42 | headers in stateful traffic flow inspection. Traffic flows that match | ||
| 43 | the criteria are a match for the corresponding StatefulRule. | ||
| 44 | |||
| 45 | =head1 ATTRIBUTES | ||
| 46 | |||
| 47 | |||
| 48 | =head2 B<REQUIRED> Destination => Str | ||
| 49 | |||
| 50 | The destination IP address or address range to inspect for, in CIDR | ||
| 51 | notation. To match with any address, specify C<ANY>. | ||
| 52 | |||
| 53 | Specify an IP address or a block of IP addresses in Classless | ||
| 54 | Inter-Domain Routing (CIDR) notation. Network Firewall supports all | ||
| 55 | address ranges for IPv4. | ||
| 56 | |||
| 57 | Examples: | ||
| 58 | |||
| 59 | =over | ||
| 60 | |||
| 61 | =item * | ||
| 62 | |||
| 63 | To configure Network Firewall to inspect for the IP address 192.0.2.44, | ||
| 64 | specify C<192.0.2.44/32>. | ||
| 65 | |||
| 66 | =item * | ||
| 67 | |||
| 68 | To configure Network Firewall to inspect for IP addresses from | ||
| 69 | 192.0.2.0 to 192.0.2.255, specify C<192.0.2.0/24>. | ||
| 70 | |||
| 71 | =back | ||
| 72 | |||
| 73 | For more information about CIDR notation, see the Wikipedia entry | ||
| 74 | Classless Inter-Domain Routing | ||
| 75 | (https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing). | ||
| 76 | |||
| 77 | |||
| 78 | =head2 B<REQUIRED> DestinationPort => Str | ||
| 79 | |||
| 80 | The destination port to inspect for. You can specify an individual | ||
| 81 | port, for example C<1994> and you can specify a port range, for example | ||
| 82 | C<1990-1994>. To match with any port, specify C<ANY>. | ||
| 83 | |||
| 84 | |||
| 85 | =head2 B<REQUIRED> Direction => Str | ||
| 86 | |||
| 87 | The direction of traffic flow to inspect. If set to C<ANY>, the | ||
| 88 | inspection matches bidirectional traffic, both from the source to the | ||
| 89 | destination and from the destination to the source. If set to | ||
| 90 | C<FORWARD>, the inspection only matches traffic going from the source | ||
| 91 | to the destination. | ||
| 92 | |||
| 93 | |||
| 94 | =head2 B<REQUIRED> Protocol => Str | ||
| 95 | |||
| 96 | The protocol to inspect for. To specify all, you can use C<IP>, because | ||
| 97 | all traffic on AWS and on the internet is IP. | ||
| 98 | |||
| 99 | |||
| 100 | =head2 B<REQUIRED> Source => Str | ||
| 101 | |||
| 102 | The source IP address or address range to inspect for, in CIDR | ||
| 103 | notation. To match with any address, specify C<ANY>. | ||
| 104 | |||
| 105 | Specify an IP address or a block of IP addresses in Classless | ||
| 106 | Inter-Domain Routing (CIDR) notation. Network Firewall supports all | ||
| 107 | address ranges for IPv4. | ||
| 108 | |||
| 109 | Examples: | ||
| 110 | |||
| 111 | =over | ||
| 112 | |||
| 113 | =item * | ||
| 114 | |||
| 115 | To configure Network Firewall to inspect for the IP address 192.0.2.44, | ||
| 116 | specify C<192.0.2.44/32>. | ||
| 117 | |||
| 118 | =item * | ||
| 119 | |||
| 120 | To configure Network Firewall to inspect for IP addresses from | ||
| 121 | 192.0.2.0 to 192.0.2.255, specify C<192.0.2.0/24>. | ||
| 122 | |||
| 123 | =back | ||
| 124 | |||
| 125 | For more information about CIDR notation, see the Wikipedia entry | ||
| 126 | Classless Inter-Domain Routing | ||
| 127 | (https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing). | ||
| 128 | |||
| 129 | |||
| 130 | =head2 B<REQUIRED> SourcePort => Str | ||
| 131 | |||
| 132 | The source port to inspect for. You can specify an individual port, for | ||
| 133 | example C<1994> and you can specify a port range, for example | ||
| 134 | C<1990-1994>. To match with any port, specify C<ANY>. | ||
| 135 | |||
| 136 | |||
| 137 | |||
| 138 | =head1 SEE ALSO | ||
| 139 | |||
| 140 | This class forms part of L<Paws>, describing an object used in L<Paws::NetworkFirewall> | ||
| 141 | |||
| 142 | =head1 BUGS and CONTRIBUTIONS | ||
| 143 | |||
| 144 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 145 | |||
| 146 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 147 | |||
| 148 | =cut | ||
| 149 |