GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Paws::WAFRegional::CreateRateBasedRule(3) User Contributed Perl Documentation Paws::WAFRegional::CreateRateBasedRule(3)

Paws::WAFRegional::CreateRateBasedRule - Arguments for method CreateRateBasedRule on Paws::WAFRegional

This class represents the parameters used for calling the method CreateRateBasedRule on the AWS WAF Regional service. Use the attributes of this class as arguments to method CreateRateBasedRule.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateRateBasedRule.

    my $waf-regional = Paws->service('WAFRegional');
    my $CreateRateBasedRuleResponse = $waf -regional->CreateRateBasedRule(
      ChangeToken => 'MyChangeToken',
      MetricName  => 'MyMetricName',
      Name        => 'MyResourceName',
      RateKey     => 'IP',
      RateLimit   => 1,
      Tags        => [
        {
          Key   => 'MyTagKey',      # min: 1, max: 128
          Value => 'MyTagValue',    # max: 256
        },
        ...
      ],    # OPTIONAL
    );
    # Results:
    my $ChangeToken = $CreateRateBasedRuleResponse->ChangeToken;
    my $Rule        = $CreateRateBasedRuleResponse->Rule;
    # Returns a L<Paws::WAFRegional::CreateRateBasedRuleResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/waf-regional/CreateRateBasedRule>

REQUIRED ChangeToken => Str

The "ChangeToken" that you used to submit the "CreateRateBasedRule" request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus.

REQUIRED MetricName => Str

A friendly name or description for the metrics for this "RateBasedRule". The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change the name of the metric after you create the "RateBasedRule".

REQUIRED Name => Str

A friendly name or description of the RateBasedRule. You can't change the name of a "RateBasedRule" after you create it.

REQUIRED RateKey => Str

The field that AWS WAF uses to determine if requests are likely arriving from a single source and thus subject to rate monitoring. The only valid value for "RateKey" is "IP". "IP" indicates that requests that arrive from the same IP address are subject to the "RateLimit" that is specified in the "RateBasedRule".

Valid values are: "IP"

REQUIRED RateLimit => Int

The maximum number of requests, which have an identical value in the field that is specified by "RateKey", allowed in a five-minute period. If the number of requests exceeds the "RateLimit" and the other predicates specified in the rule are also met, AWS WAF triggers the action that is specified for this rule.

This class forms part of Paws, documenting arguments for method CreateRateBasedRule in Paws::WAFRegional

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>

2022-06-01 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.