Class: AWSCDK::MediaLive::CfnChannel::MotionGraphicsSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnChannel::MotionGraphicsSettingsProperty
- Defined in:
- media_live/cfn_channel.rb
Overview
Settings to enable and configure the motion graphics overlay feature in the channel.
The parent of this entity is MotionGraphicsConfiguration.
Instance Attribute Summary collapse
-
#html_motion_graphics_settings ⇒ AWSCDK::IResolvable, ...
readonly
Settings to configure the motion graphics overlay to use an HTML asset.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(html_motion_graphics_settings: nil) ⇒ MotionGraphicsSettingsProperty
constructor
A new instance of MotionGraphicsSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(html_motion_graphics_settings: nil) ⇒ MotionGraphicsSettingsProperty
Returns a new instance of MotionGraphicsSettingsProperty.
10570 10571 10572 10573 |
# File 'media_live/cfn_channel.rb', line 10570 def initialize(html_motion_graphics_settings: nil) @html_motion_graphics_settings = html_motion_graphics_settings.is_a?(Hash) ? ::AWSCDK::MediaLive::CfnChannel::HtmlMotionGraphicsSettingsProperty.new(**html_motion_graphics_settings.transform_keys(&:to_sym)) : html_motion_graphics_settings Jsii::Type.check_type(@html_motion_graphics_settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWxpdmUuQ2ZuQ2hhbm5lbC5IdG1sTW90aW9uR3JhcGhpY3NTZXR0aW5nc1Byb3BlcnR5In1dfX0=")), "htmlMotionGraphicsSettings") unless @html_motion_graphics_settings.nil? end |
Instance Attribute Details
#html_motion_graphics_settings ⇒ AWSCDK::IResolvable, ... (readonly)
Settings to configure the motion graphics overlay to use an HTML asset.
10579 10580 10581 |
# File 'media_live/cfn_channel.rb', line 10579 def html_motion_graphics_settings @html_motion_graphics_settings end |
Class Method Details
.jsii_properties ⇒ Object
10581 10582 10583 10584 10585 |
# File 'media_live/cfn_channel.rb', line 10581 def self.jsii_properties { :html_motion_graphics_settings => "htmlMotionGraphicsSettings", } end |
Instance Method Details
#to_jsii ⇒ Object
10587 10588 10589 10590 10591 10592 10593 |
# File 'media_live/cfn_channel.rb', line 10587 def to_jsii result = {} result.merge!({ "htmlMotionGraphicsSettings" => @html_motion_graphics_settings, }) result.compact end |