Class: AWSCDK::MediaLive::CfnChannel::Av1ColorSpaceSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnChannel::Av1ColorSpaceSettingsProperty
- Defined in:
- media_live/cfn_channel.rb
Overview
Instance Attribute Summary collapse
- #color_space_passthrough_settings ⇒ Object? readonly
- #hdr10_settings ⇒ AWSCDK::IResolvable, ... readonly
- #hlg2020_settings ⇒ Object? readonly
- #rec601_settings ⇒ Object? readonly
- #rec709_settings ⇒ Object? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(color_space_passthrough_settings: nil, hdr10_settings: nil, hlg2020_settings: nil, rec601_settings: nil, rec709_settings: nil) ⇒ Av1ColorSpaceSettingsProperty
constructor
A new instance of Av1ColorSpaceSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(color_space_passthrough_settings: nil, hdr10_settings: nil, hlg2020_settings: nil, rec601_settings: nil, rec709_settings: nil) ⇒ Av1ColorSpaceSettingsProperty
Returns a new instance of Av1ColorSpaceSettingsProperty.
2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 |
# File 'media_live/cfn_channel.rb', line 2495 def initialize(color_space_passthrough_settings: nil, hdr10_settings: nil, hlg2020_settings: nil, rec601_settings: nil, rec709_settings: nil) @color_space_passthrough_settings = color_space_passthrough_settings Jsii::Type.check_type(@color_space_passthrough_settings, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJhbnkifQ==")), "colorSpacePassthroughSettings") unless @color_space_passthrough_settings.nil? @hdr10_settings = hdr10_settings.is_a?(Hash) ? ::AWSCDK::MediaLive::CfnChannel::Hdr10SettingsProperty.new(**hdr10_settings.transform_keys(&:to_sym)) : hdr10_settings Jsii::Type.check_type(@hdr10_settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWxpdmUuQ2ZuQ2hhbm5lbC5IZHIxMFNldHRpbmdzUHJvcGVydHkifV19fQ==")), "hdr10Settings") unless @hdr10_settings.nil? @hlg2020_settings = hlg2020_settings Jsii::Type.check_type(@hlg2020_settings, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJhbnkifQ==")), "hlg2020Settings") unless @hlg2020_settings.nil? @rec601_settings = rec601_settings Jsii::Type.check_type(@rec601_settings, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJhbnkifQ==")), "rec601Settings") unless @rec601_settings.nil? @rec709_settings = rec709_settings Jsii::Type.check_type(@rec709_settings, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJhbnkifQ==")), "rec709Settings") unless @rec709_settings.nil? end |
Instance Attribute Details
#color_space_passthrough_settings ⇒ Object? (readonly)
2510 2511 2512 |
# File 'media_live/cfn_channel.rb', line 2510 def color_space_passthrough_settings @color_space_passthrough_settings end |
#hdr10_settings ⇒ AWSCDK::IResolvable, ... (readonly)
2513 2514 2515 |
# File 'media_live/cfn_channel.rb', line 2513 def hdr10_settings @hdr10_settings end |
#hlg2020_settings ⇒ Object? (readonly)
2516 2517 2518 |
# File 'media_live/cfn_channel.rb', line 2516 def hlg2020_settings @hlg2020_settings end |
#rec601_settings ⇒ Object? (readonly)
2519 2520 2521 |
# File 'media_live/cfn_channel.rb', line 2519 def rec601_settings @rec601_settings end |
#rec709_settings ⇒ Object? (readonly)
2522 2523 2524 |
# File 'media_live/cfn_channel.rb', line 2522 def rec709_settings @rec709_settings end |
Class Method Details
.jsii_properties ⇒ Object
2524 2525 2526 2527 2528 2529 2530 2531 2532 |
# File 'media_live/cfn_channel.rb', line 2524 def self.jsii_properties { :color_space_passthrough_settings => "colorSpacePassthroughSettings", :hdr10_settings => "hdr10Settings", :hlg2020_settings => "hlg2020Settings", :rec601_settings => "rec601Settings", :rec709_settings => "rec709Settings", } end |
Instance Method Details
#to_jsii ⇒ Object
2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 |
# File 'media_live/cfn_channel.rb', line 2534 def to_jsii result = {} result.merge!({ "colorSpacePassthroughSettings" => @color_space_passthrough_settings, "hdr10Settings" => @hdr10_settings, "hlg2020Settings" => @hlg2020_settings, "rec601Settings" => @rec601_settings, "rec709Settings" => @rec709_settings, }) result.compact end |