Class: Aws::CloudFront::Types::CookieNames

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudfront/types.rb

Overview

Note:

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

{
  quantity: 1, # required
  items: ["string"],
}

A complex type that specifies whether you want CloudFront to forward cookies to the origin and, if so, which ones. For more information about forwarding cookies to the origin, see [How CloudFront Forwards, Caches, and Logs Cookies] in the *Amazon CloudFront Developer Guide*.

[1]: docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Cookies.html

Instance Attribute Summary collapse

Instance Attribute Details

#itemsArray<String>

A complex type that contains one ‘Name` element for each cookie that you want CloudFront to forward to the origin for this cache behavior.

Returns:

  • (Array<String>)


876
877
878
879
880
# File 'lib/aws-sdk-cloudfront/types.rb', line 876

class CookieNames < Struct.new(
  :quantity,
  :items)
  include Aws::Structure
end

#quantityInteger

The number of different cookies that you want CloudFront to forward to the origin for this cache behavior.

Returns:

  • (Integer)


876
877
878
879
880
# File 'lib/aws-sdk-cloudfront/types.rb', line 876

class CookieNames < Struct.new(
  :quantity,
  :items)
  include Aws::Structure
end