Class: AWSCDK::MediaLive::CfnChannel::MsSmoothOutputSettingsProperty

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

Overview

Configuration of a Microsoft Smooth output.

The parent of this entity is OutputSettings.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(h265_packaging_type: nil, name_modifier: nil) ⇒ MsSmoothOutputSettingsProperty

Returns a new instance of MsSmoothOutputSettingsProperty.

Parameters:

  • h265_packaging_type (String, nil) (defaults to: nil)

    Only applicable when this output is referencing an H.265 video description. Specifies whether MP4 segments should be packaged as HEV1 or HVC1.

  • name_modifier (String, nil) (defaults to: nil)

    A string that is concatenated to the end of the destination file name.



11167
11168
11169
11170
11171
11172
# File 'media_live/cfn_channel.rb', line 11167

def initialize(h265_packaging_type: nil, name_modifier: nil)
  @h265_packaging_type = h265_packaging_type
  Jsii::Type.check_type(@h265_packaging_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "h265PackagingType") unless @h265_packaging_type.nil?
  @name_modifier = name_modifier
  Jsii::Type.check_type(@name_modifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "nameModifier") unless @name_modifier.nil?
end

Instance Attribute Details

#h265_packaging_typeString? (readonly)

Only applicable when this output is referencing an H.265 video description. Specifies whether MP4 segments should be packaged as HEV1 or HVC1.



11178
11179
11180
# File 'media_live/cfn_channel.rb', line 11178

def h265_packaging_type
  @h265_packaging_type
end

#name_modifierString? (readonly)

A string that is concatenated to the end of the destination file name.

This is required for multiple outputs of the same type.



11185
11186
11187
# File 'media_live/cfn_channel.rb', line 11185

def name_modifier
  @name_modifier
end

Class Method Details

.jsii_propertiesObject



11187
11188
11189
11190
11191
11192
# File 'media_live/cfn_channel.rb', line 11187

def self.jsii_properties
  {
    :h265_packaging_type => "h265PackagingType",
    :name_modifier => "nameModifier",
  }
end

Instance Method Details

#to_jsiiObject



11194
11195
11196
11197
11198
11199
11200
11201
# File 'media_live/cfn_channel.rb', line 11194

def to_jsii
  result = {}
  result.merge!({
    "h265PackagingType" => @h265_packaging_type,
    "nameModifier" => @name_modifier,
  })
  result.compact
end