| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CloudFront.Types.CustomHeaders
Description
Synopsis
Documentation
data CustomHeaders Source #
A complex type that contains the list of Custom Headers for each origin.
See: newCustomHeaders smart constructor.
Constructors
| CustomHeaders' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> CustomHeaders |
Create a value of CustomHeaders with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:items:CustomHeaders', customHeaders_items - Optional: A list that contains one OriginCustomHeader element for
each custom header that you want CloudFront to forward to the origin. If
Quantity is 0, omit Items.
$sel:quantity:CustomHeaders', customHeaders_quantity - The number of custom headers, if any, for this distribution.
customHeaders_items :: Lens' CustomHeaders (Maybe [OriginCustomHeader]) Source #
Optional: A list that contains one OriginCustomHeader element for
each custom header that you want CloudFront to forward to the origin. If
Quantity is 0, omit Items.
customHeaders_quantity :: Lens' CustomHeaders Int Source #
The number of custom headers, if any, for this distribution.