CachePolicyParametersInCacheKeyAndForwardedToOriginCookiesConfig constructor

const CachePolicyParametersInCacheKeyAndForwardedToOriginCookiesConfig({
  1. required Input<String> cookieBehavior,
  2. Input<CachePolicyParametersInCacheKeyAndForwardedToOriginCookiesConfigCookies?>? cookies,
})

Creates a new CachePolicyParametersInCacheKeyAndForwardedToOriginCookiesConfig. cookieBehavior Whether any cookies in viewer requests are included in the cache key and automatically included in requests that CloudFront sends to the origin. Valid values for cookieBehavior are none, whitelist, allExcept, and all. cookies Object that contains a list of cookie names. See Items for more information.

Implementation

const CachePolicyParametersInCacheKeyAndForwardedToOriginCookiesConfig({
  required this.cookieBehavior,
  this.cookies,
});