Class: AWSCDK::MediaPackage::CfnPackagingConfiguration::MssManifestProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
media_package/cfn_packaging_configuration.rb

Overview

Parameters for a Microsoft Smooth manifest.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(manifest_name: nil, stream_selection: nil) ⇒ MssManifestProperty

Returns a new instance of MssManifestProperty.

Parameters:



1269
1270
1271
1272
1273
1274
# File 'media_package/cfn_packaging_configuration.rb', line 1269

def initialize(manifest_name: nil, stream_selection: nil)
  @manifest_name = manifest_name
  Jsii::Type.check_type(@manifest_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "manifestName") unless @manifest_name.nil?
  @stream_selection = stream_selection.is_a?(Hash) ? ::AWSCDK::MediaPackage::CfnPackagingConfiguration::StreamSelectionProperty.new(**stream_selection.transform_keys(&:to_sym)) : stream_selection
  Jsii::Type.check_type(@stream_selection, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYXBhY2thZ2UuQ2ZuUGFja2FnaW5nQ29uZmlndXJhdGlvbi5TdHJlYW1TZWxlY3Rpb25Qcm9wZXJ0eSJ9XX19")), "streamSelection") unless @stream_selection.nil?
end

Instance Attribute Details

#manifest_nameString? (readonly)

A short string that's appended to the end of the endpoint URL to create a unique path to this packaging configuration.



1280
1281
1282
# File 'media_package/cfn_packaging_configuration.rb', line 1280

def manifest_name
  @manifest_name
end

#stream_selectionAWSCDK::IResolvable, ... (readonly)

Video bitrate limitations for outputs from this packaging configuration.



1285
1286
1287
# File 'media_package/cfn_packaging_configuration.rb', line 1285

def stream_selection
  @stream_selection
end

Class Method Details

.jsii_propertiesObject



1287
1288
1289
1290
1291
1292
# File 'media_package/cfn_packaging_configuration.rb', line 1287

def self.jsii_properties
  {
    :manifest_name => "manifestName",
    :stream_selection => "streamSelection",
  }
end

Instance Method Details

#to_jsiiObject



1294
1295
1296
1297
1298
1299
1300
1301
# File 'media_package/cfn_packaging_configuration.rb', line 1294

def to_jsii
  result = {}
  result.merge!({
    "manifestName" => @manifest_name,
    "streamSelection" => @stream_selection,
  })
  result.compact
end