Class: AWSCDK::MediaLive::CfnChannel::DvbNitSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnChannel::DvbNitSettingsProperty
- Defined in:
- media_live/cfn_channel.rb
Overview
The configuration of DVB NIT.
The parent of this entity is M2tsSettings.
Instance Attribute Summary collapse
-
#network_id ⇒ Numeric?
readonly
The numeric value placed in the Network Information Table (NIT).
-
#network_name ⇒ String?
readonly
The network name text placed in the networkNameDescriptor inside the Network Information Table (NIT).
-
#rep_interval ⇒ Numeric?
readonly
The number of milliseconds between instances of this table in the output transport stream.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(network_id: nil, network_name: nil, rep_interval: nil) ⇒ DvbNitSettingsProperty
constructor
A new instance of DvbNitSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(network_id: nil, network_name: nil, rep_interval: nil) ⇒ DvbNitSettingsProperty
Returns a new instance of DvbNitSettingsProperty.
4255 4256 4257 4258 4259 4260 4261 4262 |
# File 'media_live/cfn_channel.rb', line 4255 def initialize(network_id: nil, network_name: nil, rep_interval: nil) @network_id = network_id Jsii::Type.check_type(@network_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "networkId") unless @network_id.nil? @network_name = network_name Jsii::Type.check_type(@network_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "networkName") unless @network_name.nil? @rep_interval = rep_interval Jsii::Type.check_type(@rep_interval, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "repInterval") unless @rep_interval.nil? end |
Instance Attribute Details
#network_id ⇒ Numeric? (readonly)
The numeric value placed in the Network Information Table (NIT).
4268 4269 4270 |
# File 'media_live/cfn_channel.rb', line 4268 def network_id @network_id end |
#network_name ⇒ String? (readonly)
The network name text placed in the networkNameDescriptor inside the Network Information Table (NIT).
The maximum length is 256 characters.
4275 4276 4277 |
# File 'media_live/cfn_channel.rb', line 4275 def network_name @network_name end |
#rep_interval ⇒ Numeric? (readonly)
The number of milliseconds between instances of this table in the output transport stream.
4280 4281 4282 |
# File 'media_live/cfn_channel.rb', line 4280 def rep_interval @rep_interval end |
Class Method Details
.jsii_properties ⇒ Object
4282 4283 4284 4285 4286 4287 4288 |
# File 'media_live/cfn_channel.rb', line 4282 def self.jsii_properties { :network_id => "networkId", :network_name => "networkName", :rep_interval => "repInterval", } end |
Instance Method Details
#to_jsii ⇒ Object
4290 4291 4292 4293 4294 4295 4296 4297 4298 |
# File 'media_live/cfn_channel.rb', line 4290 def to_jsii result = {} result.merge!({ "networkId" => @network_id, "networkName" => @network_name, "repInterval" => @rep_interval, }) result.compact end |