Class: AWSCDK::MediaLive::CfnChannel::DvbNitSettingsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
media_live/cfn_channel.rb

Overview

The configuration of DVB NIT.

The parent of this entity is M2tsSettings.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(network_id: nil, network_name: nil, rep_interval: nil) ⇒ DvbNitSettingsProperty

Returns a new instance of DvbNitSettingsProperty.

Parameters:

  • network_id (Numeric, nil) (defaults to: nil)

    The numeric value placed in the Network Information Table (NIT).

  • network_name (String, nil) (defaults to: nil)

    The network name text placed in the networkNameDescriptor inside the Network Information Table (NIT).

  • rep_interval (Numeric, nil) (defaults to: nil)

    The number of milliseconds between instances of this table in the output transport stream.



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_idNumeric? (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_nameString? (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_intervalNumeric? (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_propertiesObject



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_jsiiObject



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