Paws::CloudFront::AllowedMethods
This class represents one of two things:
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::CloudFront::AllowedMethods object:
$service_obj->Method(Att1 => { CachedMethods => $value, ..., Quantity => $value });
Use accessors for each attribute. If Att1 is expected to be an Paws::CloudFront::AllowedMethods object:
$result = $service_obj->Method(...); $result->Att1->CachedMethods
A complex type that controls which HTTP methods CloudFront processes and forwards to your Amazon S3 bucket or your custom origin. There are three choices:
CloudFront forwards only GET and HEAD requests.
GET
HEAD
CloudFront forwards only GET, HEAD, and OPTIONS requests.
OPTIONS
CloudFront forwards GET, HEAD, OPTIONS, PUT, PATCH, POST, and DELETE requests.
GET, HEAD, OPTIONS, PUT, PATCH, POST
DELETE
If you pick the third choice, you may need to restrict access to your Amazon S3 bucket or to your custom origin so users can't perform operations that you don't want them to. For example, you might not want users to have permissions to delete objects from your origin.
A complex type that contains the HTTP methods that you want CloudFront to process and forward to your origin.
The number of HTTP methods that you want CloudFront to forward to your origin. Valid values are 2 (for C<GET> and C<HEAD> requests), 3 (for C<GET>, C<HEAD>, and C<OPTIONS> requests) and 7 (for C<GET, HEAD, OPTIONS, PUT, PATCH, POST>, and C<DELETE> requests).
This class forms part of Paws, describing an object used in Paws::CloudFront
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.