Class: AWSCDK::MediaConnect::CfnFlow::MediaStreamAttributesProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
media_connect/cfn_flow.rb

Overview

Attributes that are related to the media stream.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(fmtp: nil, lang: nil) ⇒ MediaStreamAttributesProperty

Returns a new instance of MediaStreamAttributesProperty.

Parameters:



1427
1428
1429
1430
1431
1432
# File 'media_connect/cfn_flow.rb', line 1427

def initialize(fmtp: nil, lang: nil)
  @fmtp = fmtp.is_a?(Hash) ? ::AWSCDK::MediaConnect::CfnFlow::FmtpProperty.new(**fmtp.transform_keys(&:to_sym)) : fmtp
  Jsii::Type.check_type(@fmtp, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWNvbm5lY3QuQ2ZuRmxvdy5GbXRwUHJvcGVydHkifV19fQ==")), "fmtp") unless @fmtp.nil?
  @lang = lang
  Jsii::Type.check_type(@lang, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "lang") unless @lang.nil?
end

Instance Attribute Details

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

The settings that you want to use to define the media stream.



1438
1439
1440
# File 'media_connect/cfn_flow.rb', line 1438

def fmtp
  @fmtp
end

#langString? (readonly)

The audio language, in a format that is recognized by the receiver.



1443
1444
1445
# File 'media_connect/cfn_flow.rb', line 1443

def lang
  @lang
end

Class Method Details

.jsii_propertiesObject



1445
1446
1447
1448
1449
1450
# File 'media_connect/cfn_flow.rb', line 1445

def self.jsii_properties
  {
    :fmtp => "fmtp",
    :lang => "lang",
  }
end

Instance Method Details

#to_jsiiObject



1452
1453
1454
1455
1456
1457
1458
1459
# File 'media_connect/cfn_flow.rb', line 1452

def to_jsii
  result = {}
  result.merge!({
    "fmtp" => @fmtp,
    "lang" => @lang,
  })
  result.compact
end