You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CookieNames as input to an Aws::Client method, you can use a vanilla 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.

Returned by:

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>)

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

#quantityInteger

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

Returns:

  • (Integer)

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