AWS::IVS::PlaybackRestrictionPolicyThe `AWS::IVS::PlaybackRestrictionPolicy` resource specifies an playback restriction policy. A playback restriction policy constrains playback by country and/or origin sites. For more information, see [Undesired Content and Viewers](https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/undesired-content.html) in the *Amazon IVS Low-Latency Streaming User Guide* .
import { CfnPlaybackRestrictionPolicy } from 'aws-cdk-lib/aws-ivs';Or use the module namespace:
import * as ivs from 'aws-cdk-lib/aws-ivs';
// ivs.CfnPlaybackRestrictionPolicyConfiguration passed to the constructor as CfnPlaybackRestrictionPolicyProps.
allowedCountriesOptionalstring[]A list of country codes that control geoblocking restrictions. Allowed values are the officially assigned ISO 3166-1 alpha-2 codes. Default: All countries (an empty array).
allowedOriginsOptionalstring[]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"](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin)
enableStrictOriginEnforcementOptionalboolean | IResolvableWhether channel playback is constrained by the origin site.
Default: - false
nameOptionalstringPlayback-restriction-policy name.
tagsOptionalCfnTag[]An array of key-value pairs to apply to this resource. For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-playbackrestrictionpolicy-tag.html) .
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-ivsAWS::IVS::PlaybackRestrictionPolicy