You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Lightsail::Types::HeaderObjectWhen passing HeaderObject as input to an Aws::Client method, you can use a vanilla Hash:
{
option: "none", headers_allow_list: ["Accept"], }
Describes the request headers that a Lightsail distribution bases caching on.
For the headers that you specify, your distribution caches separate versions of the specified content based on the header values in viewer requests. For example, suppose viewer requests for logo.jpg
contain a custom product
header that has a value of either acme
or apex
, and you configure your distribution to cache your content based on values in the product
header. Your distribution forwards the product
header to the origin and caches the response from the origin once for each header value.
Returned by:
Instance Attribute Summary collapseThe specific headers to forward to your distribution\'s origin.
The headers that you want your distribution to forward to your origin and base caching on.
The specific headers to forward to your distribution\'s origin.
#option ⇒ StringThe headers that you want your distribution to forward to your origin and base caching on.
You can configure your distribution to do one of the following:
all
- Forward all headers to your origin.
none
- Forward only the default headers.
allow-list
- Forward only the headers you specify using the headersAllowList
parameter.
Possible values:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4