Interface CfnDistribution.CookieObjectProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnDistribution.CookieObjectProperty.Jsii$Proxy
Enclosing class:
CfnDistribution

@Stability(Stable) public static interface CfnDistribution.CookieObjectProperty extends software.amazon.jsii.JsiiSerializable
CookieObject is a property of the CacheSettings property. It describes whether an Amazon Lightsail content delivery network (CDN) distribution forwards cookies to the origin and, if so, which ones.

For the cookies that you specify, your distribution caches separate versions of the specified content based on the cookie values in viewer requests.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.lightsail.*;
 CookieObjectProperty cookieObjectProperty = CookieObjectProperty.builder()
         .cookiesAllowList(List.of("cookiesAllowList"))
         .option("option")
         .build();
 

See Also: