We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
aws-native.ivs.getPlaybackRestrictionPolicy
Start a Neo task
Explain and create an aws-native.ivs.getPlaybackRestrictionPolicy resource
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
Resource Type definition for AWS::IVS::PlaybackRestrictionPolicy.
Using getPlaybackRestrictionPolicy
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getPlaybackRestrictionPolicy(args: GetPlaybackRestrictionPolicyArgs, opts?: InvokeOptions): Promise<GetPlaybackRestrictionPolicyResult>
function getPlaybackRestrictionPolicyOutput(args: GetPlaybackRestrictionPolicyOutputArgs, opts?: InvokeOptions): Output<GetPlaybackRestrictionPolicyResult>def get_playback_restriction_policy(arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPlaybackRestrictionPolicyResult
def get_playback_restriction_policy_output(arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPlaybackRestrictionPolicyResult]func LookupPlaybackRestrictionPolicy(ctx *Context, args *LookupPlaybackRestrictionPolicyArgs, opts ...InvokeOption) (*LookupPlaybackRestrictionPolicyResult, error)
func LookupPlaybackRestrictionPolicyOutput(ctx *Context, args *LookupPlaybackRestrictionPolicyOutputArgs, opts ...InvokeOption) LookupPlaybackRestrictionPolicyResultOutput> Note: This function is named LookupPlaybackRestrictionPolicy in the Go SDK.
public static class GetPlaybackRestrictionPolicy
{
public static Task<GetPlaybackRestrictionPolicyResult> InvokeAsync(GetPlaybackRestrictionPolicyArgs args, InvokeOptions? opts = null)
public static Output<GetPlaybackRestrictionPolicyResult> Invoke(GetPlaybackRestrictionPolicyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPlaybackRestrictionPolicyResult> getPlaybackRestrictionPolicy(GetPlaybackRestrictionPolicyArgs args, InvokeOptions options)
public static Output<GetPlaybackRestrictionPolicyResult> getPlaybackRestrictionPolicy(GetPlaybackRestrictionPolicyArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:ivs:getPlaybackRestrictionPolicy
arguments:
# arguments dictionaryThe following arguments are supported:
- Arn string
- Playback-restriction-policy identifier.
- Arn string
- Playback-restriction-policy identifier.
- arn String
- Playback-restriction-policy identifier.
- arn string
- Playback-restriction-policy identifier.
- arn str
- Playback-restriction-policy identifier.
- arn String
- Playback-restriction-policy identifier.
getPlaybackRestrictionPolicy Result
The following output properties are available:
- Allowed
Countries List<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
Origins List<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
- Arn string
- Playback-restriction-policy identifier.
- Enable
Strict boolOrigin Enforcement - Whether channel playback is constrained by origin site.
- Name string
- Playback-restriction-policy name.
-
List<Pulumi.
Aws Native. Outputs. Tag> - An array of key-value pairs to apply to this resource.
- Allowed
Countries []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
Origins []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
- Arn string
- Playback-restriction-policy identifier.
- Enable
Strict boolOrigin Enforcement - Whether channel playback is constrained by origin site.
- Name string
- Playback-restriction-policy name.
- Tag
- An array of key-value pairs to apply to this resource.
- allowed
Countries List<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
Origins List<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
- arn String
- Playback-restriction-policy identifier.
- enable
Strict BooleanOrigin Enforcement - Whether channel playback is constrained by origin site.
- name String
- Playback-restriction-policy name.
- List<Tag>
- An array of key-value pairs to apply to this resource.
- allowed
Countries 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
Origins 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
- arn string
- Playback-restriction-policy identifier.
- enable
Strict booleanOrigin Enforcement - Whether channel playback is constrained by origin site.
- name string
- Playback-restriction-policy name.
- Tag[]
- An array of key-value pairs to apply to this resource.
- allowed_
countries Sequence[str] - 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_
origins Sequence[str] - 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
- arn str
- Playback-restriction-policy identifier.
- enable_
strict_ boolorigin_ enforcement - Whether channel playback is constrained by origin site.
- name str
- Playback-restriction-policy name.
- Sequence[root_Tag]
- An array of key-value pairs to apply to this resource.
- allowed
Countries List<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
Origins List<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
- arn String
- Playback-restriction-policy identifier.
- enable
Strict BooleanOrigin Enforcement - Whether channel playback is constrained by origin site.
- name String
- Playback-restriction-policy name.
- List<Property Map>
- An array of key-value pairs to apply to this resource.
Supporting Types
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
