Class: AWSCDK::MediaLive::CfnChannel::TimecodeBurninSettingsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
media_live/cfn_channel.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(font_size: nil, position: nil, prefix: nil) ⇒ TimecodeBurninSettingsProperty

Returns a new instance of TimecodeBurninSettingsProperty.

Parameters:

  • font_size (String, nil) (defaults to: nil)
  • position (String, nil) (defaults to: nil)
  • prefix (String, nil) (defaults to: nil)


13526
13527
13528
13529
13530
13531
13532
13533
# File 'media_live/cfn_channel.rb', line 13526

def initialize(font_size: nil, position: nil, prefix: nil)
  @font_size = font_size
  Jsii::Type.check_type(@font_size, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "fontSize") unless @font_size.nil?
  @position = position
  Jsii::Type.check_type(@position, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "position") unless @position.nil?
  @prefix = prefix
  Jsii::Type.check_type(@prefix, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "prefix") unless @prefix.nil?
end

Instance Attribute Details

#font_sizeString? (readonly)



13537
13538
13539
# File 'media_live/cfn_channel.rb', line 13537

def font_size
  @font_size
end

#positionString? (readonly)



13540
13541
13542
# File 'media_live/cfn_channel.rb', line 13540

def position
  @position
end

#prefixString? (readonly)



13543
13544
13545
# File 'media_live/cfn_channel.rb', line 13543

def prefix
  @prefix
end

Class Method Details

.jsii_propertiesObject



13545
13546
13547
13548
13549
13550
13551
# File 'media_live/cfn_channel.rb', line 13545

def self.jsii_properties
  {
    :font_size => "fontSize",
    :position => "position",
    :prefix => "prefix",
  }
end

Instance Method Details

#to_jsiiObject



13553
13554
13555
13556
13557
13558
13559
13560
13561
# File 'media_live/cfn_channel.rb', line 13553

def to_jsii
  result = {}
  result.merge!({
    "fontSize" => @font_size,
    "position" => @position,
    "prefix" => @prefix,
  })
  result.compact
end