Class DistributionRestrictionsGeoRestrictionArgs


  • public final class DistributionRestrictionsGeoRestrictionArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • locations

        public java.util.Optional<com.pulumi.core.Output<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 com.pulumi.core.Output<java.lang.String> restrictionType()
        Returns:
        Method that you want to use to restrict distribution of your content by country: `none`, `whitelist`, or `blacklist`.