Class: Aws::IVS::Types::UpdatePlaybackRestrictionPolicyRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::IVS::Types::UpdatePlaybackRestrictionPolicyRequest
- Defined in:
- gems/aws-sdk-ivs/lib/aws-sdk-ivs/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#allowed_countries ⇒ Array<String>
A list of country codes that control geoblocking restriction.
-
#allowed_origins ⇒ Array<String>
A list of origin sites that control CORS restriction.
-
#arn ⇒ String
ARN of the playback-restriction-policy to be updated.
-
#enable_strict_origin_enforcement ⇒ Boolean
Whether channel playback is constrained by origin site.
-
#name ⇒ String
Playback-restriction-policy name.
Instance Attribute Details
#allowed_countries ⇒ Array<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).
2576 2577 2578 2579 2580 2581 2582 2583 2584 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/types.rb', line 2576 class UpdatePlaybackRestrictionPolicyRequest < Struct.new( :allowed_countries, :allowed_origins, :arn, :enable_strict_origin_enforcement, :name) SENSITIVE = [] include Aws::Structure end |
#allowed_origins ⇒ Array<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. Default: All origins (an empty array).
2576 2577 2578 2579 2580 2581 2582 2583 2584 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/types.rb', line 2576 class UpdatePlaybackRestrictionPolicyRequest < Struct.new( :allowed_countries, :allowed_origins, :arn, :enable_strict_origin_enforcement, :name) SENSITIVE = [] include Aws::Structure end |
#arn ⇒ String
ARN of the playback-restriction-policy to be updated.
2576 2577 2578 2579 2580 2581 2582 2583 2584 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/types.rb', line 2576 class UpdatePlaybackRestrictionPolicyRequest < Struct.new( :allowed_countries, :allowed_origins, :arn, :enable_strict_origin_enforcement, :name) SENSITIVE = [] include Aws::Structure end |
#enable_strict_origin_enforcement ⇒ Boolean
Whether channel playback is constrained by origin site. Default:
false
.
2576 2577 2578 2579 2580 2581 2582 2583 2584 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/types.rb', line 2576 class UpdatePlaybackRestrictionPolicyRequest < Struct.new( :allowed_countries, :allowed_origins, :arn, :enable_strict_origin_enforcement, :name) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
Playback-restriction-policy name. The value does not need to be unique.
2576 2577 2578 2579 2580 2581 2582 2583 2584 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/types.rb', line 2576 class UpdatePlaybackRestrictionPolicyRequest < Struct.new( :allowed_countries, :allowed_origins, :arn, :enable_strict_origin_enforcement, :name) SENSITIVE = [] include Aws::Structure end |