Module Values.GeoRestrictionCustomizationSource

The customizations that you specified for the distribution tenant for geographic restrictions.

Sourcetype nonrec t = {
  1. restrictionType : GeoRestrictionType.t;
    (*

    The method that you want to use to restrict distribution of your content by country: none: No geographic restriction is enabled, meaning access to content is not restricted by client geo location. blacklist: The Location elements specify the countries in which you don't want CloudFront to distribute your content. whitelist: The Location elements specify the countries in which you want CloudFront to distribute your content.

    *)
  2. locations : LocationList.t option;
    (*

    The locations for geographic restrictions.

    *)
}
Sourceval context_ : string
Sourceval make : ?locations:??? -> restrictionType:GeoRestrictionType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `String of String_.t ] list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t