« blib/lib/Paws/Route53Resolver/FirewallDomainListMetadata.pm
↑ Summary
blib/lib/Paws/Route53Resolver/FirewallRuleGroup.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Route53Resolver::FirewallRule; | ||
| 3 | use Moose; | ||
| 4 | has Action => (is => 'ro', isa => 'Str'); | ||
| 5 | has BlockOverrideDnsType => (is => 'ro', isa => 'Str'); | ||
| 6 | has BlockOverrideDomain => (is => 'ro', isa => 'Str'); | ||
| 7 | has BlockOverrideTtl => (is => 'ro', isa => 'Int'); | ||
| 8 | has BlockResponse => (is => 'ro', isa => 'Str'); | ||
| 9 | has CreationTime => (is => 'ro', isa => 'Str'); | ||
| 10 | has CreatorRequestId => (is => 'ro', isa => 'Str'); | ||
| 11 | has FirewallDomainListId => (is => 'ro', isa => 'Str'); | ||
| 12 | has FirewallRuleGroupId => (is => 'ro', isa => 'Str'); | ||
| 13 | has ModificationTime => (is => 'ro', isa => 'Str'); | ||
| 14 | has Name => (is => 'ro', isa => 'Str'); | ||
| 15 | has Priority => (is => 'ro', isa => 'Int'); | ||
| 16 | |||
| 17 | 1; | ||
| 18 | |||
| 19 | ### main pod documentation begin ### | ||
| 20 | |||
| 21 | =head1 NAME | ||
| 22 | |||
| 23 | Paws::Route53Resolver::FirewallRule | ||
| 24 | |||
| 25 | =head1 USAGE | ||
| 26 | |||
| 27 | This class represents one of two things: | ||
| 28 | |||
| 29 | =head3 Arguments in a call to a service | ||
| 30 | |||
| 31 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 32 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 33 | |||
| 34 | As an example, if Att1 is expected to be a Paws::Route53Resolver::FirewallRule object: | ||
| 35 | |||
| 36 | $service_obj->Method(Att1 => { Action => $value, ..., Priority => $value }); | ||
| 37 | |||
| 38 | =head3 Results returned from an API call | ||
| 39 | |||
| 40 | Use accessors for each attribute. If Att1 is expected to be an Paws::Route53Resolver::FirewallRule object: | ||
| 41 | |||
| 42 | $result = $service_obj->Method(...); | ||
| 43 | $result->Att1->Action | ||
| 44 | |||
| 45 | =head1 DESCRIPTION | ||
| 46 | |||
| 47 | A single firewall rule in a rule group. | ||
| 48 | |||
| 49 | =head1 ATTRIBUTES | ||
| 50 | |||
| 51 | |||
| 52 | =head2 Action => Str | ||
| 53 | |||
| 54 | The action that DNS Firewall should take on a DNS query when it matches | ||
| 55 | one of the domains in the rule's domain list: | ||
| 56 | |||
| 57 | =over | ||
| 58 | |||
| 59 | =item * | ||
| 60 | |||
| 61 | C<ALLOW> - Permit the request to go through. | ||
| 62 | |||
| 63 | =item * | ||
| 64 | |||
| 65 | C<ALERT> - Permit the request to go through but send an alert to the | ||
| 66 | logs. | ||
| 67 | |||
| 68 | =item * | ||
| 69 | |||
| 70 | C<BLOCK> - Disallow the request. If this is specified, additional | ||
| 71 | handling details are provided in the rule's C<BlockResponse> setting. | ||
| 72 | |||
| 73 | =back | ||
| 74 | |||
| 75 | |||
| 76 | |||
| 77 | =head2 BlockOverrideDnsType => Str | ||
| 78 | |||
| 79 | The DNS record's type. This determines the format of the record value | ||
| 80 | that you provided in C<BlockOverrideDomain>. Used for the rule action | ||
| 81 | C<BLOCK> with a C<BlockResponse> setting of C<OVERRIDE>. | ||
| 82 | |||
| 83 | |||
| 84 | =head2 BlockOverrideDomain => Str | ||
| 85 | |||
| 86 | The custom DNS record to send back in response to the query. Used for | ||
| 87 | the rule action C<BLOCK> with a C<BlockResponse> setting of | ||
| 88 | C<OVERRIDE>. | ||
| 89 | |||
| 90 | |||
| 91 | =head2 BlockOverrideTtl => Int | ||
| 92 | |||
| 93 | The recommended amount of time, in seconds, for the DNS resolver or web | ||
| 94 | browser to cache the provided override record. Used for the rule action | ||
| 95 | C<BLOCK> with a C<BlockResponse> setting of C<OVERRIDE>. | ||
| 96 | |||
| 97 | |||
| 98 | =head2 BlockResponse => Str | ||
| 99 | |||
| 100 | The way that you want DNS Firewall to block the request. Used for the | ||
| 101 | rule action setting C<BLOCK>. | ||
| 102 | |||
| 103 | =over | ||
| 104 | |||
| 105 | =item * | ||
| 106 | |||
| 107 | C<NODATA> - Respond indicating that the query was successful, but no | ||
| 108 | response is available for it. | ||
| 109 | |||
| 110 | =item * | ||
| 111 | |||
| 112 | C<NXDOMAIN> - Respond indicating that the domain name that's in the | ||
| 113 | query doesn't exist. | ||
| 114 | |||
| 115 | =item * | ||
| 116 | |||
| 117 | C<OVERRIDE> - Provide a custom override in the response. This option | ||
| 118 | requires custom handling details in the rule's C<BlockOverride*> | ||
| 119 | settings. | ||
| 120 | |||
| 121 | =back | ||
| 122 | |||
| 123 | |||
| 124 | |||
| 125 | =head2 CreationTime => Str | ||
| 126 | |||
| 127 | The date and time that the rule was created, in Unix time format and | ||
| 128 | Coordinated Universal Time (UTC). | ||
| 129 | |||
| 130 | |||
| 131 | =head2 CreatorRequestId => Str | ||
| 132 | |||
| 133 | A unique string defined by you to identify the request. This allows you | ||
| 134 | to retry failed requests without the risk of executing the operation | ||
| 135 | twice. This can be any unique string, for example, a timestamp. | ||
| 136 | |||
| 137 | |||
| 138 | =head2 FirewallDomainListId => Str | ||
| 139 | |||
| 140 | The ID of the domain list that's used in the rule. | ||
| 141 | |||
| 142 | |||
| 143 | =head2 FirewallRuleGroupId => Str | ||
| 144 | |||
| 145 | The unique identifier of the firewall rule group of the rule. | ||
| 146 | |||
| 147 | |||
| 148 | =head2 ModificationTime => Str | ||
| 149 | |||
| 150 | The date and time that the rule was last modified, in Unix time format | ||
| 151 | and Coordinated Universal Time (UTC). | ||
| 152 | |||
| 153 | |||
| 154 | =head2 Name => Str | ||
| 155 | |||
| 156 | The name of the rule. | ||
| 157 | |||
| 158 | |||
| 159 | =head2 Priority => Int | ||
| 160 | |||
| 161 | The priority of the rule in the rule group. This value must be unique | ||
| 162 | within the rule group. DNS Firewall processes the rules in a rule group | ||
| 163 | by order of priority, starting from the lowest setting. | ||
| 164 | |||
| 165 | |||
| 166 | |||
| 167 | =head1 SEE ALSO | ||
| 168 | |||
| 169 | This class forms part of L<Paws>, describing an object used in L<Paws::Route53Resolver> | ||
| 170 | |||
| 171 | =head1 BUGS and CONTRIBUTIONS | ||
| 172 | |||
| 173 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 174 | |||
| 175 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 176 | |||
| 177 | =cut | ||
| 178 |