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

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

AWS Native v0.111.0 published on Tuesday, Jul 9, 2024 by Pulumi

aws-native.ivs.PlaybackRestrictionPolicy

Explore with Pulumi AI

aws-native logo

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

AWS Native v0.111.0 published on Tuesday, Jul 9, 2024 by Pulumi

    Resource Type definition for AWS::IVS::PlaybackRestrictionPolicy.

    Create PlaybackRestrictionPolicy Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new PlaybackRestrictionPolicy(name: string, args: PlaybackRestrictionPolicyArgs, opts?: CustomResourceOptions);
    @overload
    def PlaybackRestrictionPolicy(resource_name: str,
                                  args: PlaybackRestrictionPolicyArgs,
                                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def PlaybackRestrictionPolicy(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  allowed_countries: Optional[Sequence[str]] = None,
                                  allowed_origins: Optional[Sequence[str]] = None,
                                  enable_strict_origin_enforcement: Optional[bool] = None,
                                  name: Optional[str] = None,
                                  tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewPlaybackRestrictionPolicy(ctx *Context, name string, args PlaybackRestrictionPolicyArgs, opts ...ResourceOption) (*PlaybackRestrictionPolicy, error)
    public PlaybackRestrictionPolicy(string name, PlaybackRestrictionPolicyArgs args, CustomResourceOptions? opts = null)
    public PlaybackRestrictionPolicy(String name, PlaybackRestrictionPolicyArgs args)
    public PlaybackRestrictionPolicy(String name, PlaybackRestrictionPolicyArgs args, CustomResourceOptions options)
    
    type: aws-native:ivs:PlaybackRestrictionPolicy
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args PlaybackRestrictionPolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args PlaybackRestrictionPolicyArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args PlaybackRestrictionPolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PlaybackRestrictionPolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PlaybackRestrictionPolicyArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    PlaybackRestrictionPolicy Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The PlaybackRestrictionPolicy resource accepts the following input properties:

    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
    EnableStrictOriginEnforcement bool
    Whether channel playback is constrained by origin site.
    Name string
    Playback-restriction-policy name.
    Tags List<Pulumi.AwsNative.Inputs.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
    EnableStrictOriginEnforcement bool
    Whether channel playback is constrained by origin site.
    Name string
    Playback-restriction-policy name.
    Tags TagArgs
    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
    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
    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
    enable_strict_origin_enforcement bool
    Whether channel playback is constrained by origin site.
    name str
    Playback-restriction-policy name.
    tags Sequence[TagArgs]
    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
    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.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the PlaybackRestrictionPolicy resource produces the following output properties:

    Arn string
    Playback-restriction-policy identifier.
    Id string
    The provider-assigned unique ID for this managed resource.
    Arn string
    Playback-restriction-policy identifier.
    Id string
    The provider-assigned unique ID for this managed resource.
    arn String
    Playback-restriction-policy identifier.
    id String
    The provider-assigned unique ID for this managed resource.
    arn string
    Playback-restriction-policy identifier.
    id string
    The provider-assigned unique ID for this managed resource.
    arn str
    Playback-restriction-policy identifier.
    id str
    The provider-assigned unique ID for this managed resource.
    arn String
    Playback-restriction-policy identifier.
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    Tag, TagArgs

    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.111.0 published on Tuesday, Jul 9, 2024 by Pulumi