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::CloudFront::CachedMethods object:

  $service_obj->Method(Att1 => { Items => $value, ..., Quantity => $value  });

Results returned from an API call

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

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


A complex type that controls whether CloudFront caches the response to requests using the specified HTTP methods. There are two choices:

  • CloudFront caches responses to GET and HEAD requests.

  • CloudFront caches responses to GET, HEAD, and OPTIONS requests.

If you pick the second choice for your Amazon S3 Origin, you may need to forward Access-Control-Request-Method, Access-Control-Request-Headers, and Origin headers for the responses to be cached correctly.


REQUIRED Items => ArrayRef[Str|Undef]

  A complex type that contains the HTTP methods that you want CloudFront
to cache responses to.

REQUIRED Quantity => Int

  The number of HTTP methods for which you want CloudFront to cache
responses. Valid values are C<2> (for caching responses to C<GET> and
C<HEAD> requests) and C<3> (for caching responses to C<GET>, C<HEAD>,
and C<OPTIONS> requests).


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


The source code is located here:

Please report bugs to: