|
NAMEPaws::Lightsail::CacheSettings USAGEThis 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 DESCRIPTIONDescribes 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". ATTRIBUTESAllowedHTTPMethods => StrThe HTTP methods that are processed and forwarded to the distribution's origin. You can specify the following options:
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. CachedHTTPMethods => StrThe HTTP method responses that are cached by your distribution. You can specify the following options:
DefaultTTL => IntThe 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. ForwardedCookies => Paws::Lightsail::CookieObjectAn object that describes the cookies that are forwarded to the origin. Your content is cached based on the cookies that are forwarded. ForwardedHeaders => Paws::Lightsail::HeaderObjectAn object that describes the headers that are forwarded to the origin. Your content is cached based on the headers that are forwarded. ForwardedQueryStrings => Paws::Lightsail::QueryStringObjectAn object that describes the query strings that are forwarded to the origin. Your content is cached based on the query strings that are forwarded. MaximumTTL => IntThe 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. MinimumTTL => IntThe 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. SEE ALSOThis class forms part of Paws, describing an object used in Paws::Lightsail BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|