Class: AWSCDK::MediaLive::CfnChannel::TeletextSourceSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnChannel::TeletextSourceSettingsProperty
- Defined in:
- media_live/cfn_channel.rb
Overview
Information about the Teletext captions to extract from the input.
The parent of this entity is CaptionSelectorSettings.
Instance Attribute Summary collapse
-
#output_rectangle ⇒ AWSCDK::IResolvable, ...
readonly
Settings to configure the caption rectangle for an output captions that will be created using this Teletext source captions.
-
#page_number ⇒ String?
readonly
Specifies the Teletext page number within the data stream from which to extract captions.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(output_rectangle: nil, page_number: nil) ⇒ TeletextSourceSettingsProperty
constructor
A new instance of TeletextSourceSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(output_rectangle: nil, page_number: nil) ⇒ TeletextSourceSettingsProperty
Returns a new instance of TeletextSourceSettingsProperty.
13404 13405 13406 13407 13408 13409 |
# File 'media_live/cfn_channel.rb', line 13404 def initialize(output_rectangle: nil, page_number: nil) @output_rectangle = output_rectangle.is_a?(Hash) ? ::AWSCDK::MediaLive::CfnChannel::CaptionRectangleProperty.new(**output_rectangle.transform_keys(&:to_sym)) : output_rectangle Jsii::Type.check_type(@output_rectangle, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWxpdmUuQ2ZuQ2hhbm5lbC5DYXB0aW9uUmVjdGFuZ2xlUHJvcGVydHkifV19fQ==")), "outputRectangle") unless @output_rectangle.nil? @page_number = page_number Jsii::Type.check_type(@page_number, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "pageNumber") unless @page_number.nil? end |
Instance Attribute Details
#output_rectangle ⇒ AWSCDK::IResolvable, ... (readonly)
Settings to configure the caption rectangle for an output captions that will be created using this Teletext source captions.
13415 13416 13417 |
# File 'media_live/cfn_channel.rb', line 13415 def output_rectangle @output_rectangle end |
#page_number ⇒ String? (readonly)
Specifies the Teletext page number within the data stream from which to extract captions.
The range is 0x100 (256) to 0x8FF (2303). This is unused for passthrough. It should be specified as a hexadecimal string with no "0x" prefix.
13422 13423 13424 |
# File 'media_live/cfn_channel.rb', line 13422 def page_number @page_number end |
Class Method Details
.jsii_properties ⇒ Object
13424 13425 13426 13427 13428 13429 |
# File 'media_live/cfn_channel.rb', line 13424 def self.jsii_properties { :output_rectangle => "outputRectangle", :page_number => "pageNumber", } end |
Instance Method Details
#to_jsii ⇒ Object
13431 13432 13433 13434 13435 13436 13437 13438 |
# File 'media_live/cfn_channel.rb', line 13431 def to_jsii result = {} result.merge!({ "outputRectangle" => @output_rectangle, "pageNumber" => @page_number, }) result.compact end |