AWS CloudFormation
User Guide (API Version 2010-05-15)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Go to the Kindle Store to download this guide in Kindle format.Did this page help you?  Yes | No |  Tell us about it...

CloudFront ForwardedValues

ForwardedValues is a property of the DefaultCacheBehavior and CacheBehavior properties that indicates whether Amazon CloudFront forwards query strings or cookies.

Syntax

{
  "Cookies" : Cookies,
  "Headers" : [ String, ... ],
  "QueryString" : Boolean
}

Properties

Note

For more information about the constraints and valid values of each property, see the elements table in the DistributionConfig Complex Type topic in the Amazon CloudFront API Reference.

Cookies

Forwards specified cookies to the origin of the cache behavior.

Required: No

Type: CloudFront ForwardedValues Cookies

Headers

Specifies the headers that you want Amazon CloudFront to forward to the origin for this cache behavior. For the headers that you specify, Amazon CloudFront also caches separate versions of a specified object that is based on the header values in viewer requests.

Required: No

Type: A list of strings

QueryString

Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.

Required: Yes

Type: Boolean

Template Examples

To view AWS::CloudFront::Distribution snippets, see Amazon CloudFront Template Snippets.