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::Lightsail::CacheSettings(3) User Contributed Perl Documentation Paws::Lightsail::CacheSettings(3)

Paws::Lightsail::CacheSettings

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::Lightsail::CacheSettings object:

  $service_obj->Method(Att1 => { AllowedHTTPMethods => $value, ..., MinimumTTL => $value  });

Results returned from an API call

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

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

Describes the cache settings of an Amazon Lightsail content delivery network (CDN) distribution.

These settings apply only to your distribution's "cacheBehaviors" (including the "defaultCacheBehavior") that have a "behavior" of "cache".

The HTTP methods that are processed and forwarded to the distribution's origin.

You can specify the following options:

  • "GET,HEAD" - The distribution forwards the "GET" and "HEAD" methods.
  • "GET,HEAD,OPTIONS" - The distribution forwards the "GET", "HEAD", and "OPTIONS" methods.
  • "GET,HEAD,OPTIONS,PUT,PATCH,POST,DELETE" - The distribution forwards the "GET", "HEAD", "OPTIONS", "PUT", "PATCH", "POST", and "DELETE" methods.

If you specify the third option, you might need to restrict access to your distribution's origin so users can't perform operations that you don't want them to. For example, you might not want users to have permission to delete objects from your origin.

The HTTP method responses that are cached by your distribution.

You can specify the following options:

  • "GET,HEAD" - The distribution caches responses to the "GET" and "HEAD" methods.
  • "GET,HEAD,OPTIONS" - The distribution caches responses to the "GET", "HEAD", and "OPTIONS" methods.

The default amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the content has been updated.

The value specified applies only when the origin does not add HTTP headers such as "Cache-Control max-age", "Cache-Control s-maxage", and "Expires" to objects.

An object that describes the cookies that are forwarded to the origin. Your content is cached based on the cookies that are forwarded.

An object that describes the headers that are forwarded to the origin. Your content is cached based on the headers that are forwarded.

An object that describes the query strings that are forwarded to the origin. Your content is cached based on the query strings that are forwarded.

The maximum amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the object has been updated.

The value specified applies only when the origin adds HTTP headers such as "Cache-Control max-age", "Cache-Control s-maxage", and "Expires" to objects.

The minimum amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the object has been updated.

A value of 0 must be specified for "minimumTTL" if the distribution is configured to forward all headers to the origin.

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

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.