C# Класс Amazon.CloudFront.Model.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.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GeoRestriction ( ) : System

Empty constructor used to set properties independently even when a simple constructor is available

GeoRestriction ( GeoRestrictionType restrictionType ) : System

Instantiates GeoRestriction with the parameterized properties

Приватные методы

Метод Описание
IsSetItems ( ) : bool
IsSetQuantity ( ) : bool
IsSetRestrictionType ( ) : bool

Описание методов

GeoRestriction() публичный Метод

Empty constructor used to set properties independently even when a simple constructor is available
public GeoRestriction ( ) : System
Результат System

GeoRestriction() публичный Метод

Instantiates GeoRestriction with the parameterized properties
public GeoRestriction ( GeoRestrictionType restrictionType ) : System
restrictionType GeoRestrictionType The method that you want to use to restrict distribution of your content by country:
  • none: No geo restriction is enabled, meaning access to content is not restricted by client geo location.
  • blacklist: The Location elements specify the countries in which you do not want CloudFront to distribute your content.
  • whitelist: The Location elements specify the countries in which you want CloudFront to distribute your content.
Результат System