PlaybackRestrictionPolicyArgs

data class PlaybackRestrictionPolicyArgs(val allowedCountries: Output<List<String>>? = null, val allowedOrigins: Output<List<String>>? = null, val enableStrictOriginEnforcement: Output<Boolean>? = null, val name: Output<String>? = null, val tags: Output<List<TagArgs>>? = null) : ConvertibleToJava<PlaybackRestrictionPolicyArgs>

Resource Type definition for AWS::IVS::PlaybackRestrictionPolicy.

Constructors

Link copied to clipboard
constructor(allowedCountries: Output<List<String>>? = null, allowedOrigins: Output<List<String>>? = null, enableStrictOriginEnforcement: Output<Boolean>? = null, name: Output<String>? = null, tags: Output<List<TagArgs>>? = null)

Properties

Link copied to clipboard
val allowedCountries: Output<List<String>>? = null

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

Link copied to clipboard
val allowedOrigins: Output<List<String>>? = null

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

Link copied to clipboard

Whether channel playback is constrained by origin site.

Link copied to clipboard
val name: Output<String>? = null

Playback-restriction-policy name.

Link copied to clipboard
val tags: Output<List<TagArgs>>? = null

An array of key-value pairs to apply to this resource.

Functions

Link copied to clipboard
open override fun toJava(): PlaybackRestrictionPolicyArgs