Skip to content

CloudFront  >  Structures  >  Restrictions

Restrictions

Structure Class

Restrictions dataclass

Bases: _SerdeShape

A complex type that identifies ways in which you want to restrict distribution of your content.

Attributes

geo_restriction instance-attribute
geo_restriction: 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.