cookieBehavior property
Determines whether cookies in viewer requests are included in requests that CloudFront sends to the origin. Valid values are:
-
none– Cookies in viewer requests are not included in requests that CloudFront sends to the origin. Even when this field is set tonone, any cookies that are listed in aCachePolicyare included in origin requests. -
whitelist– The cookies in viewer requests that are listed in theCookieNamestype are included in requests that CloudFront sends to the origin. -
all– All cookies in viewer requests are included in requests that CloudFront sends to the origin.
Implementation
final OriginRequestPolicyCookieBehavior cookieBehavior;