Skip to content

QueryStringObject

Source code in docs_src/capo_lightsail/types/query_string_object.py
class QueryStringObject(TypedDict, closed=True):
    option: NotRequired["capo_lightsail.types.boolean.boolean"]
    """<p>Indicates whether the distribution forwards and caches based on query strings.</p>"""
    query_strings_allow_list: NotRequired["capo_lightsail.types.string_list.StringList"]
    """<p>The specific query strings that the distribution forwards to the origin.</p> <p>Your distribution will cache content based on the specified query strings.</p> <p>If the <code>option</code> parameter is true, then your distribution forwards all query strings, regardless of what you specify using the <code>queryStringsAllowList</code> parameter.</p>"""

option instance-attribute

option: NotRequired[boolean]

Indicates whether the distribution forwards and caches based on query strings.

query_strings_allow_list instance-attribute

query_strings_allow_list: NotRequired[StringList]

The specific query strings that the distribution forwards to the origin.

Your distribution will cache content based on the specified query strings.

If the option parameter is true, then your distribution forwards all query strings, regardless of what you specify using the queryStringsAllowList parameter.