amazonka-cloudfront-2.0: Amazon CloudFront SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CloudFront.Types.Restrictions

Description

 
Synopsis

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

  • geoRestriction :: 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.

Instances

Instances details
FromXML Restrictions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Restrictions

ToXML Restrictions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Restrictions

Methods

toXML :: Restrictions -> XML #

Generic Restrictions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Restrictions

Associated Types

type Rep Restrictions :: Type -> Type #

Read Restrictions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Restrictions

Show Restrictions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Restrictions

NFData Restrictions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Restrictions

Methods

rnf :: Restrictions -> () #

Eq Restrictions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Restrictions

Hashable Restrictions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Restrictions

type Rep Restrictions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Restrictions

type Rep Restrictions = D1 ('MetaData "Restrictions" "Amazonka.CloudFront.Types.Restrictions" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "Restrictions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "geoRestriction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 GeoRestriction)))

newRestrictions Source #

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.