| 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.Restrictions
Description
Documentation
data Restrictions Source #
A complex type that identifies ways in which you want to restrict distribution of your content.
See: newRestrictions smart constructor.
Constructors
| Restrictions' | |
Fields
| |
Instances
Arguments
| :: GeoRestriction | |
| -> Restrictions |
Create a value of Restrictions 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:geoRestriction:Restrictions', restrictions_geoRestriction - A complex type that controls the countries in which your content is
distributed. CloudFront determines the location of your users using
MaxMind GeoIP databases.
restrictions_geoRestriction :: Lens' Restrictions GeoRestriction Source #
A complex type that controls the countries in which your content is
distributed. CloudFront determines the location of your users using
MaxMind GeoIP databases.