The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::Route53Resolver::FirewallRule

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::Route53Resolver::FirewallRule object:

$service_obj->Method(Att1 => { Action => $value, ..., Priority => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::Route53Resolver::FirewallRule object:

$result = $service_obj->Method(...);
$result->Att1->Action

DESCRIPTION

A single firewall rule in a rule group.

ATTRIBUTES

Action => Str

The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list:

  • ALLOW - Permit the request to go through.

  • ALERT - Permit the request to go through but send an alert to the logs.

  • BLOCK - Disallow the request. If this is specified, additional handling details are provided in the rule's BlockResponse setting.

BlockOverrideDnsType => Str

The DNS record's type. This determines the format of the record value that you provided in BlockOverrideDomain. Used for the rule action BLOCK with a BlockResponse setting of OVERRIDE.

BlockOverrideDomain => Str

The custom DNS record to send back in response to the query. Used for the rule action BLOCK with a BlockResponse setting of OVERRIDE.

BlockOverrideTtl => Int

The recommended amount of time, in seconds, for the DNS resolver or web browser to cache the provided override record. Used for the rule action BLOCK with a BlockResponse setting of OVERRIDE.

BlockResponse => Str

The way that you want DNS Firewall to block the request. Used for the rule action setting BLOCK.

  • NODATA - Respond indicating that the query was successful, but no response is available for it.

  • NXDOMAIN - Respond indicating that the domain name that's in the query doesn't exist.

  • OVERRIDE - Provide a custom override in the response. This option requires custom handling details in the rule's BlockOverride* settings.

CreationTime => Str

The date and time that the rule was created, in Unix time format and Coordinated Universal Time (UTC).

CreatorRequestId => Str

A unique string defined by you to identify the request. This allows you to retry failed requests without the risk of executing the operation twice. This can be any unique string, for example, a timestamp.

FirewallDomainListId => Str

The ID of the domain list that's used in the rule.

FirewallRuleGroupId => Str

The unique identifier of the firewall rule group of the rule.

ModificationTime => Str

The date and time that the rule was last modified, in Unix time format and Coordinated Universal Time (UTC).

Name => Str

The name of the rule.

Priority => Int

The priority of the rule in the rule group. This value must be unique within the rule group. DNS Firewall processes the rules in a rule group by order of priority, starting from the lowest setting.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::Route53Resolver

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues