quantity property
The number of different headers that you want CloudFront to forward to the origin for this cache behavior. You can configure each cache behavior in a web distribution to do one of the following:
-
Forward all headers to your origin: Specify
1
forQuantity
and*
forName
. -
Forward a whitelist of headers you specify: Specify the number of
headers that you want to forward, and specify the header names in
Name
elements. CloudFront caches your objects based on the values in all of the specified headers. CloudFront also forwards the headers that it forwards by default, but it caches your objects based only on the headers that you specify. -
Forward only the default headers: Specify
0
forQuantity
and omitItems
. In this configuration, CloudFront doesn't cache based on the values in the request headers.
Implementation
final int quantity;