Fugue.AWS.CloudFront.ForwardedValues

This is the preferred interface for making CloudFront ForwardedValues with Fugue. If you want to manage a CloudFront ForwardedValue with Fugue, the new function is the right place to start.

Table of Contents

Module Members

new

(Function)

new CloudFront ForwardedValue (Constructor)

Call this constructor to create a new Fugue.Core.AWS.CloudFront.ForwardedValue value.

Type Signature

 fun { queryString: Bool,
       headers: Optional<List<String>>,
       whitelistAllCookies: Optional<Bool>,
       whitelistedCookieNames: Optional<List<String>> } -> ForwardedValues
Argument: queryString

Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior and cache based on the query string parameters.

Type: Bool

Argument: headers

A list of the HTTP headers, if any, that you want CloudFront to vary upon for this cache behavior.

Type: Optional<List<String>>

Argument: whitelistAllCookies

Whether to whitelist all cookies or only those in the whitelist.

Type: Optional<Bool>

Argument: whitelistedCookieNames

The whitelisted cookies, if any, that you want CloudFront to forward to your origin that is associated with this cache behavior.

Type: Optional<List<String>>

Returns:

A Fugue.Core.AWS.CloudFront.ForwardedValue value.

Type: ForwardedValues