Class: AWSCDK::MediaLive::CfnChannel::MotionGraphicsConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnChannel::MotionGraphicsConfigurationProperty
- 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 EncoderSettings.
Instance Attribute Summary collapse
-
#motion_graphics_insertion ⇒ String?
readonly
Enables or disables the motion graphics overlay feature in the channel.
-
#motion_graphics_settings ⇒ AWSCDK::IResolvable, ...
readonly
Settings to enable and configure the motion graphics overlay feature in the channel.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(motion_graphics_insertion: nil, motion_graphics_settings: nil) ⇒ MotionGraphicsConfigurationProperty
constructor
A new instance of MotionGraphicsConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(motion_graphics_insertion: nil, motion_graphics_settings: nil) ⇒ MotionGraphicsConfigurationProperty
Returns a new instance of MotionGraphicsConfigurationProperty.
10526 10527 10528 10529 10530 10531 |
# File 'media_live/cfn_channel.rb', line 10526 def initialize(motion_graphics_insertion: nil, motion_graphics_settings: nil) @motion_graphics_insertion = motion_graphics_insertion Jsii::Type.check_type(@motion_graphics_insertion, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "motionGraphicsInsertion") unless @motion_graphics_insertion.nil? @motion_graphics_settings = motion_graphics_settings.is_a?(Hash) ? ::AWSCDK::MediaLive::CfnChannel::MotionGraphicsSettingsProperty.new(**motion_graphics_settings.transform_keys(&:to_sym)) : motion_graphics_settings Jsii::Type.check_type(@motion_graphics_settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWxpdmUuQ2ZuQ2hhbm5lbC5Nb3Rpb25HcmFwaGljc1NldHRpbmdzUHJvcGVydHkifV19fQ==")), "motionGraphicsSettings") unless @motion_graphics_settings.nil? end |
Instance Attribute Details
#motion_graphics_insertion ⇒ String? (readonly)
Enables or disables the motion graphics overlay feature in the channel.
10537 10538 10539 |
# File 'media_live/cfn_channel.rb', line 10537 def motion_graphics_insertion @motion_graphics_insertion end |
#motion_graphics_settings ⇒ AWSCDK::IResolvable, ... (readonly)
Settings to enable and configure the motion graphics overlay feature in the channel.
10542 10543 10544 |
# File 'media_live/cfn_channel.rb', line 10542 def motion_graphics_settings @motion_graphics_settings end |
Class Method Details
.jsii_properties ⇒ Object
10544 10545 10546 10547 10548 10549 |
# File 'media_live/cfn_channel.rb', line 10544 def self.jsii_properties { :motion_graphics_insertion => "motionGraphicsInsertion", :motion_graphics_settings => "motionGraphicsSettings", } end |
Instance Method Details
#to_jsii ⇒ Object
10551 10552 10553 10554 10555 10556 10557 10558 |
# File 'media_live/cfn_channel.rb', line 10551 def to_jsii result = {} result.merge!({ "motionGraphicsInsertion" => @motion_graphics_insertion, "motionGraphicsSettings" => @motion_graphics_settings, }) result.compact end |