IVS Playback Restriction Policy

An IVS Playback Restriction Policy in AWS defines rules that control where and how Amazon Interactive Video Service streams can be played. It allows you to restrict playback based on criteria such as specific domains or geographic locations, helping secure content delivery and ensuring streams are only accessible to authorized viewers.

aws.ivs_playback_restriction_policy

Fields

TitleIDTypeData TypeDescription
_keycorestring
account_idcorestring
allowed_countriescorearray<string>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).
allowed_originscorearray<string>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).
arncorestringPlayback-restriction-policy ARN
enable_strict_origin_enforcementcoreboolWhether channel playback is constrained by origin site. Default: false.
namecorestringPlayback-restriction-policy name. The value does not need to be unique.
tagscorehstore