libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq Restrictions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Restrictions

Read Restrictions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Restrictions

Show Restrictions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Restrictions

Generic Restrictions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Restrictions

Associated Types

type Rep Restrictions :: Type -> Type #

NFData Restrictions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Restrictions

Methods

rnf :: Restrictions -> () #

Hashable Restrictions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Restrictions

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 #

type Rep Restrictions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Restrictions

type Rep Restrictions = D1 ('MetaData "Restrictions" "Amazonka.CloudFront.Types.Restrictions" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" '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.