Class: Aws::IVS::Types::PlaybackRestrictionPolicySummary

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ivs/types.rb

Overview

Summary information about a PlaybackRestrictionPolicy.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#allowed_countriesArray<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).

[1]: en.wikipedia.org/wiki/ISO_3166-1_alpha-2

Returns:

  • (Array<String>)


1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
# File 'lib/aws-sdk-ivs/types.rb', line 1533

class PlaybackRestrictionPolicySummary < Struct.new(
  :allowed_countries,
  :allowed_origins,
  :arn,
  :enable_strict_origin_enforcement,
  :name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#allowed_originsArray<String>

A list of origin sites that control CORS restriction. Allowed values are the same as valid values of the Origin header defined at [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin][1]. Default: All origins (an empty array).

[1]: developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin

Returns:

  • (Array<String>)


1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
# File 'lib/aws-sdk-ivs/types.rb', line 1533

class PlaybackRestrictionPolicySummary < Struct.new(
  :allowed_countries,
  :allowed_origins,
  :arn,
  :enable_strict_origin_enforcement,
  :name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#arnString

Playback-restriction-policy ARN

Returns:

  • (String)


1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
# File 'lib/aws-sdk-ivs/types.rb', line 1533

class PlaybackRestrictionPolicySummary < Struct.new(
  :allowed_countries,
  :allowed_origins,
  :arn,
  :enable_strict_origin_enforcement,
  :name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#enable_strict_origin_enforcementBoolean

Whether channel playback is constrained by origin site. Default: ‘false`.

Returns:

  • (Boolean)


1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
# File 'lib/aws-sdk-ivs/types.rb', line 1533

class PlaybackRestrictionPolicySummary < Struct.new(
  :allowed_countries,
  :allowed_origins,
  :arn,
  :enable_strict_origin_enforcement,
  :name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

Playback-restriction-policy name. The value does not need to be unique.

Returns:

  • (String)


1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
# File 'lib/aws-sdk-ivs/types.rb', line 1533

class PlaybackRestrictionPolicySummary < Struct.new(
  :allowed_countries,
  :allowed_origins,
  :arn,
  :enable_strict_origin_enforcement,
  :name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

Tags attached to the resource. Array of 1-50 maps, each of the form ‘string:string (key:value)`. See [Tagging Amazon Web Services Resources] for more information, including restrictions that apply to tags and “Tag naming limits and requirements”; Amazon IVS has no service-specific constraints beyond what is documented there.

[1]: docs.aws.amazon.com/general/latest/gr/aws_tagging.html

Returns:

  • (Hash<String,String>)


1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
# File 'lib/aws-sdk-ivs/types.rb', line 1533

class PlaybackRestrictionPolicySummary < Struct.new(
  :allowed_countries,
  :allowed_origins,
  :arn,
  :enable_strict_origin_enforcement,
  :name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end