We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi
aws-native.ivs.getPlaybackRestrictionPolicy
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 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:
- AllowedCountries 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).
- AllowedOrigins 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.
- EnableStrict 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.
- AllowedCountries []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).
- AllowedOrigins []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.
- EnableStrict 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.
- allowedCountries 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).
- allowedOrigins 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.
- enableStrict 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.
- allowedCountries 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).
- allowedOrigins 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.
- enableStrict 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.
- allowedCountries 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).
- allowedOrigins 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.
- enableStrict 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.26.0 published on Wednesday, Mar 12, 2025 by Pulumi