Class: Aws::Lightsail::Types::QueryStringObject

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb

Overview

Note:

When making an API call, you may pass QueryStringObject data as a hash:

{
  option: false,
  query_strings_allow_list: ["string"],
}

Describes the query string parameters that an Amazon Lightsail content delivery network (CDN) distribution to bases caching on.

For the query strings that you specify, your distribution caches separate versions of the specified content based on the query string values in viewer requests.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#optionBoolean

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

Returns:

  • (Boolean)


10511
10512
10513
10514
10515
10516
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 10511

class QueryStringObject < Struct.new(
  :option,
  :query_strings_allow_list)
  SENSITIVE = []
  include Aws::Structure
end

#query_strings_allow_listArray<String>

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.

Returns:

  • (Array<String>)


10511
10512
10513
10514
10515
10516
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 10511

class QueryStringObject < Struct.new(
  :option,
  :query_strings_allow_list)
  SENSITIVE = []
  include Aws::Structure
end