Values.CreatePlaybackRestrictionPolicyRequestSourceCreates a new playback restriction policy, for constraining playback by countries and/or origins.
type nonrec t = {allowedCountries : PlaybackRestrictionPolicyAllowedCountryList.t option;A list of country codes that control geoblocking restriction. Allowed values are the officially assigned ISO 3166-1 alpha-2 codes. Default: All countries (an empty array).
*)allowedOrigins : PlaybackRestrictionPolicyAllowedOriginList.t option;A list of origin sites that control CORS restriction. Allowed values are the same as valid values of the Origin header defined at https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin. Default: All origins (an empty array).
*)enableStrictOriginEnforcement : PlaybackRestrictionPolicyEnableStrictOriginEnforcement.t
option;Whether channel playback is constrained by origin site. Default: false.
*)name : PlaybackRestrictionPolicyName.t option;Playback-restriction-policy name. The value does not need to be unique.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Boolean of
PlaybackRestrictionPolicyEnableStrictOriginEnforcement.t
| `List of
[> `String of PlaybackRestrictionPolicyAllowedCountry.t ] list
| `Map of
([> `String of TagKey.t ] * [> `String of TagValue.t ]) list
| `String of PlaybackRestrictionPolicyName.t ])
list ]