interface CfnPlaybackRestrictionPolicyMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.IVS.CfnPlaybackRestrictionPolicyMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsivs#CfnPlaybackRestrictionPolicyMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.ivs.CfnPlaybackRestrictionPolicyMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_ivs.CfnPlaybackRestrictionPolicyMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_ivs » CfnPlaybackRestrictionPolicyMixinProps |
Properties for CfnPlaybackRestrictionPolicyPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ivs as ivs } from '@aws-cdk/cfn-property-mixins';
const cfnPlaybackRestrictionPolicyMixinProps: ivs.CfnPlaybackRestrictionPolicyMixinProps = {
allowedCountries: ['allowedCountries'],
allowedOrigins: ['allowedOrigins'],
enableStrictOriginEnforcement: false,
name: 'name',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| allowed | string[] | A list of country codes that control geoblocking restrictions. |
| allowed | string[] | A list of origin sites that control CORS restriction. |
| enable | boolean | IResolvable | Whether channel playback is constrained by the origin site. |
| name? | string | Playback-restriction-policy name. |
| tags? | Cfn[] | An array of key-value pairs to apply to this resource. |
allowedCountries?
Type:
string[]
(optional)
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).
allowedOrigins?
Type:
string[]
(optional)
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"
enableStrictOriginEnforcement?
Type:
boolean | IResolvable
(optional, default: false)
Whether channel playback is constrained by the origin site.
name?
Type:
string
(optional)
Playback-restriction-policy name.
tags?
Type:
Cfn[]
(optional)
An array of key-value pairs to apply to this resource.
For more information, see Tag .

.NET
Go
Java
Python
TypeScript