Skip to content

/AWS1/CL_IVS=>CREATEPLAYBACKRESTRICTIONPLY()

About CreatePlaybackRestrictionPolicy

Creates a new playback restriction policy, for constraining playback by countries and/or origins.

Method Signature

IMPORTING

Optional arguments:

IT_ALLOWEDCOUNTRIES TYPE /AWS1/CL_IVSPLAYBACKRESTRICT00=>TT_PLAYBACKRESTRICTIONPLYALW00 TT_PLAYBACKRESTRICTIONPLYALW00

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).

IT_ALLOWEDORIGINS TYPE /AWS1/CL_IVSPLAYBACKRESTRICT01=>TT_PLAYBACKRESTRICTIONPLYALW01 TT_PLAYBACKRESTRICTIONPLYALW01

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).

IV_ENBSTRICTORIGINENFORCEM00 TYPE /AWS1/IVSPLAYBACKRESTRICTION02 /AWS1/IVSPLAYBACKRESTRICTION02

Whether channel playback is constrained by origin site. Default: false.

IV_NAME TYPE /AWS1/IVSPLAYBACKRESTRICTION03 /AWS1/IVSPLAYBACKRESTRICTION03

Playback-restriction-policy name. The value does not need to be unique.

IT_TAGS TYPE /AWS1/CL_IVSTAGS_W=>TT_TAGS TT_TAGS

Array of 1-50 maps, each of the form string:string (key:value). See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no service-specific constraints beyond what is documented there.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_IVSCREPLAYBACKRESTR01 /AWS1/CL_IVSCREPLAYBACKRESTR01