Class: AWSCDK::MediaLive::CfnChannel::InputSpecificationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnChannel::InputSpecificationProperty
- Defined in:
- media_live/cfn_channel.rb
Overview
The input specification for this channel.
It specifies the key characteristics of the inputs for this channel: the maximum bitrate, the resolution, and the codec.
This entity is at the top level in the channel.
Instance Attribute Summary collapse
-
#codec ⇒ String?
readonly
The codec to include in the input specification for this channel.
-
#maximum_bitrate ⇒ String?
readonly
The maximum input bitrate for any input attached to this channel.
-
#resolution ⇒ String?
readonly
The resolution for any input attached to this channel.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(codec: nil, maximum_bitrate: nil, resolution: nil) ⇒ InputSpecificationProperty
constructor
A new instance of InputSpecificationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(codec: nil, maximum_bitrate: nil, resolution: nil) ⇒ InputSpecificationProperty
Returns a new instance of InputSpecificationProperty.
9003 9004 9005 9006 9007 9008 9009 9010 |
# File 'media_live/cfn_channel.rb', line 9003 def initialize(codec: nil, maximum_bitrate: nil, resolution: nil) @codec = codec Jsii::Type.check_type(@codec, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "codec") unless @codec.nil? @maximum_bitrate = maximum_bitrate Jsii::Type.check_type(@maximum_bitrate, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "maximumBitrate") unless @maximum_bitrate.nil? @resolution = resolution Jsii::Type.check_type(@resolution, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "resolution") unless @resolution.nil? end |
Instance Attribute Details
#codec ⇒ String? (readonly)
The codec to include in the input specification for this channel.
9016 9017 9018 |
# File 'media_live/cfn_channel.rb', line 9016 def codec @codec end |
#maximum_bitrate ⇒ String? (readonly)
The maximum input bitrate for any input attached to this channel.
9021 9022 9023 |
# File 'media_live/cfn_channel.rb', line 9021 def maximum_bitrate @maximum_bitrate end |
#resolution ⇒ String? (readonly)
The resolution for any input attached to this channel.
9026 9027 9028 |
# File 'media_live/cfn_channel.rb', line 9026 def resolution @resolution end |
Class Method Details
.jsii_properties ⇒ Object
9028 9029 9030 9031 9032 9033 9034 |
# File 'media_live/cfn_channel.rb', line 9028 def self.jsii_properties { :codec => "codec", :maximum_bitrate => "maximumBitrate", :resolution => "resolution", } end |
Instance Method Details
#to_jsii ⇒ Object
9036 9037 9038 9039 9040 9041 9042 9043 9044 |
# File 'media_live/cfn_channel.rb', line 9036 def to_jsii result = {} result.merge!({ "codec" => @codec, "maximumBitrate" => @maximum_bitrate, "resolution" => @resolution, }) result.compact end |