C# Class 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.
Afficher le fichier Open project: aws/aws-sdk-net Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
IsSetItems ( ) : bool
IsSetQuantity ( ) : bool
IsSetRestrictionType ( ) : bool

Method Details

GeoRestriction() public méthode

Empty constructor used to set properties independently even when a simple constructor is available
public GeoRestriction ( ) : System
Résultat System

GeoRestriction() public méthode

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.
Résultat System