Interface CfnPlaybackRestrictionPolicyMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPlaybackRestrictionPolicyMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:20:00.553Z")
@Stability(Stable)
public interface CfnPlaybackRestrictionPolicyMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnPlaybackRestrictionPolicyPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.ivs.*;
CfnPlaybackRestrictionPolicyMixinProps cfnPlaybackRestrictionPolicyMixinProps = CfnPlaybackRestrictionPolicyMixinProps.builder()
.allowedCountries(List.of("allowedCountries"))
.allowedOrigins(List.of("allowedOrigins"))
.enableStrictOriginEnforcement(false)
.name("name")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPlaybackRestrictionPolicyMixinPropsstatic final classAn implementation forCfnPlaybackRestrictionPolicyMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()A list of country codes that control geoblocking restrictions.A list of origin sites that control CORS restriction.default ObjectWhether channel playback is constrained by the origin site.default StringgetName()Playback-restriction-policy name.getTags()An array of key-value pairs to apply to this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAllowedCountries
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).
- See Also:
-
getAllowedOrigins
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"
- See Also:
-
getEnableStrictOriginEnforcement
Whether channel playback is constrained by the origin site.Returns union: either
BooleanorIResolvableDefault: - false
- See Also:
-
getName
Playback-restriction-policy name.- See Also:
-
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- See Also:
-
builder
-