Class: AWSCDK::MediaConnect::CfnFlow::EncodingConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaConnect::CfnFlow::EncodingConfigProperty
- Defined in:
- media_connect/cfn_flow.rb
Overview
Instance Attribute Summary collapse
-
#encoding_profile ⇒ String?
readonly
The encoding profile to use when transcoding the NDI source to a Transport Stream.
-
#video_max_bitrate ⇒ Numeric?
readonly
The maximum video bitrate to use when transcoding the NDI source to a Transport Stream.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(encoding_profile: nil, video_max_bitrate: nil) ⇒ EncodingConfigProperty
constructor
A new instance of EncodingConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(encoding_profile: nil, video_max_bitrate: nil) ⇒ EncodingConfigProperty
Returns a new instance of EncodingConfigProperty.
795 796 797 798 799 800 |
# File 'media_connect/cfn_flow.rb', line 795 def initialize(encoding_profile: nil, video_max_bitrate: nil) @encoding_profile = encoding_profile Jsii::Type.check_type(@encoding_profile, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "encodingProfile") unless @encoding_profile.nil? @video_max_bitrate = video_max_bitrate Jsii::Type.check_type(@video_max_bitrate, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "videoMaxBitrate") unless @video_max_bitrate.nil? end |
Instance Attribute Details
#encoding_profile ⇒ String? (readonly)
The encoding profile to use when transcoding the NDI source to a Transport Stream.
You can change this value while a flow is running.
808 809 810 |
# File 'media_connect/cfn_flow.rb', line 808 def encoding_profile @encoding_profile end |
#video_max_bitrate ⇒ Numeric? (readonly)
The maximum video bitrate to use when transcoding the NDI source to a Transport Stream.
This parameter enables you to override the default video bitrate within the encoding profile's supported range. The supported range is 10,000,000 - 50,000,000 bits per second (bps). If you do not specify a value, MediaConnect uses the default value of 20,000,000 bps.
815 816 817 |
# File 'media_connect/cfn_flow.rb', line 815 def video_max_bitrate @video_max_bitrate end |
Class Method Details
.jsii_properties ⇒ Object
817 818 819 820 821 822 |
# File 'media_connect/cfn_flow.rb', line 817 def self.jsii_properties { :encoding_profile => "encodingProfile", :video_max_bitrate => "videoMaxBitrate", } end |
Instance Method Details
#to_jsii ⇒ Object
824 825 826 827 828 829 830 831 |
# File 'media_connect/cfn_flow.rb', line 824 def to_jsii result = {} result.merge!({ "encodingProfile" => @encoding_profile, "videoMaxBitrate" => @video_max_bitrate, }) result.compact end |