Class DistributionRestrictionsGeoRestriction


  • public final class DistributionRestrictionsGeoRestriction
    extends java.lang.Object
    • Method Detail

      • locations

        public java.util.List<java.lang.String> locations()
        Returns:
        [ISO 3166-1-alpha-2 codes](http://www.iso.org/iso/country_codes/iso_3166_code_lists/country_names_and_code_elements.htm) for which you want CloudFront either to distribute your content (`whitelist`) or not distribute your content (`blacklist`). If the type is specified as `none` an empty array can be used.
      • restrictionType

        public java.lang.String restrictionType()
        Returns:
        Method that you want to use to restrict distribution of your content by country: `none`, `whitelist`, or `blacklist`.