Paws::WAFv2::CreateRegexPatternSet - Arguments for method CreateRegexPatternSet on Paws::WAFv2
This class represents the parameters used for calling the method CreateRegexPatternSet on the AWS WAFV2 service. Use the attributes of this class as arguments to method CreateRegexPatternSet.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateRegexPatternSet.
my $wafv2 = Paws->service('WAFv2'); my $CreateRegexPatternSetResponse = $wafv2->CreateRegexPatternSet( Name => 'MyEntityName', RegularExpressionList => [ { RegexString => 'MyRegexPatternString', # min: 1, max: 512; OPTIONAL }, ... ], Scope => 'CLOUDFRONT', Description => 'MyEntityDescription', # OPTIONAL Tags => [ { Key => 'MyTagKey', # min: 1, max: 128 Value => 'MyTagValue', # max: 256 }, ... ], # OPTIONAL ); # Results: my $Summary = $CreateRegexPatternSetResponse->Summary; # Returns a L<Paws::WAFv2::CreateRegexPatternSetResponse> 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/wafv2/CreateRegexPatternSet
A friendly description of the set. You cannot change the description of a set after you create it.
A friendly name of the set. You cannot change the name after you create the set.
Array of regular expression strings.
Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB) or an API Gateway stage.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
CLI - Specify the region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
--scope=CLOUDFRONT --region=us-east-1
API and SDKs - For all calls, use the Region endpoint us-east-1.
Valid values are: "CLOUDFRONT", "REGIONAL"
"CLOUDFRONT"
"REGIONAL"
An array of key:value pairs to associate with the resource.
This class forms part of Paws, documenting arguments for method CreateRegexPatternSet in Paws::WAFv2
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
To install Paws::SDK::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::SDK::Config
CPAN shell
perl -MCPAN -e shell install Paws::SDK::Config
For more information on module installation, please visit the detailed CPAN module installation guide.