Class: AWSCDK::MediaConnect::CfnFlow::MediaStreamAttributesProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaConnect::CfnFlow::MediaStreamAttributesProperty
- Defined in:
- media_connect/cfn_flow.rb
Overview
Attributes that are related to the media stream.
Instance Attribute Summary collapse
-
#fmtp ⇒ AWSCDK::IResolvable, ...
readonly
The settings that you want to use to define the media stream.
-
#lang ⇒ String?
readonly
The audio language, in a format that is recognized by the receiver.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(fmtp: nil, lang: nil) ⇒ MediaStreamAttributesProperty
constructor
A new instance of MediaStreamAttributesProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(fmtp: nil, lang: nil) ⇒ MediaStreamAttributesProperty
Returns a new instance of MediaStreamAttributesProperty.
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
#fmtp ⇒ AWSCDK::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 |
#lang ⇒ String? (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_properties ⇒ Object
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_jsii ⇒ Object
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 |