1. Packages
  2. AWS Native
  3. API Docs
  4. ivs
  5. getPlaybackRestrictionPolicy

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi

aws-native.ivs.getPlaybackRestrictionPolicy

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.103.0 published on Monday, Apr 22, 2024 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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:ivs:getPlaybackRestrictionPolicy
      arguments:
        # arguments dictionary

    The 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.
    EnableStrictOriginEnforcement bool
    Whether channel playback is constrained by origin site.
    Name string
    Playback-restriction-policy name.
    Tags List<Pulumi.AwsNative.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.
    EnableStrictOriginEnforcement bool
    Whether channel playback is constrained by origin site.
    Name string
    Playback-restriction-policy name.
    Tags 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.
    enableStrictOriginEnforcement Boolean
    Whether channel playback is constrained by origin site.
    name String
    Playback-restriction-policy name.
    tags 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.
    enableStrictOriginEnforcement boolean
    Whether channel playback is constrained by origin site.
    name string
    Playback-restriction-policy name.
    tags 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_origin_enforcement bool
    Whether channel playback is constrained by origin site.
    name str
    Playback-restriction-policy name.
    tags 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.
    enableStrictOriginEnforcement Boolean
    Whether channel playback is constrained by origin site.
    name String
    Playback-restriction-policy name.
    tags List<Property Map>
    An array of key-value pairs to apply to this resource.

    Supporting Types

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi