Esempio n. 1
0
 /// <summary>
 /// Instantiates GeoRestriction with the parameterized properties
 /// </summary>
 /// <param name="restrictionType">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.</param>
 public GeoRestriction(GeoRestrictionType restrictionType)
 {
     _restrictionType = restrictionType;
 }
Esempio n. 2
0
 /// <summary>
 /// Instantiates GeoRestriction with the parameterized properties
 /// </summary>
 /// <param name="restrictionType">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.</param>
 public GeoRestriction(GeoRestrictionType restrictionType)
 {
     _restrictionType = restrictionType;
 }