Class: AWSCDK::MediaLive::CfnChannel::MediaPackageOutputDestinationSettingsProperty

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

Overview

Destination settings for a MediaPackage output.

The parent of this entity is OutputDestination.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(channel_endpoint_id: nil, channel_group: nil, channel_id: nil, channel_name: nil, media_package_region_name: nil) ⇒ MediaPackageOutputDestinationSettingsProperty

Returns a new instance of MediaPackageOutputDestinationSettingsProperty.

Parameters:

  • channel_endpoint_id (String, nil) (defaults to: nil)
  • channel_group (String, nil) (defaults to: nil)
  • channel_id (String, nil) (defaults to: nil)

    The ID of the channel in MediaPackage that is the destination for this output group.

  • channel_name (String, nil) (defaults to: nil)
  • media_package_region_name (String, nil) (defaults to: nil)


10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
# File 'media_live/cfn_channel.rb', line 10265

def initialize(channel_endpoint_id: nil, channel_group: nil, channel_id: nil, channel_name: nil, media_package_region_name: nil)
  @channel_endpoint_id = channel_endpoint_id
  Jsii::Type.check_type(@channel_endpoint_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "channelEndpointId") unless @channel_endpoint_id.nil?
  @channel_group = channel_group
  Jsii::Type.check_type(@channel_group, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "channelGroup") unless @channel_group.nil?
  @channel_id = channel_id
  Jsii::Type.check_type(@channel_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "channelId") unless @channel_id.nil?
  @channel_name = channel_name
  Jsii::Type.check_type(@channel_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "channelName") unless @channel_name.nil?
  @media_package_region_name = media_package_region_name
  Jsii::Type.check_type(@media_package_region_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "mediaPackageRegionName") unless @media_package_region_name.nil?
end

Instance Attribute Details

#channel_endpoint_idString? (readonly)



10280
10281
10282
# File 'media_live/cfn_channel.rb', line 10280

def channel_endpoint_id
  @channel_endpoint_id
end

#channel_groupString? (readonly)



10283
10284
10285
# File 'media_live/cfn_channel.rb', line 10283

def channel_group
  @channel_group
end

#channel_idString? (readonly)

The ID of the channel in MediaPackage that is the destination for this output group.

You don't need to specify the individual inputs in MediaPackage; MediaLive handles the connection of the two MediaLive pipelines to the two MediaPackage inputs. The MediaPackage channel and MediaLive channel must be in the same Region.



10290
10291
10292
# File 'media_live/cfn_channel.rb', line 10290

def channel_id
  @channel_id
end

#channel_nameString? (readonly)



10293
10294
10295
# File 'media_live/cfn_channel.rb', line 10293

def channel_name
  @channel_name
end

#media_package_region_nameString? (readonly)



10296
10297
10298
# File 'media_live/cfn_channel.rb', line 10296

def media_package_region_name
  @media_package_region_name
end

Class Method Details

.jsii_propertiesObject



10298
10299
10300
10301
10302
10303
10304
10305
10306
# File 'media_live/cfn_channel.rb', line 10298

def self.jsii_properties
  {
    :channel_endpoint_id => "channelEndpointId",
    :channel_group => "channelGroup",
    :channel_id => "channelId",
    :channel_name => "channelName",
    :media_package_region_name => "mediaPackageRegionName",
  }
end

Instance Method Details

#to_jsiiObject



10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
# File 'media_live/cfn_channel.rb', line 10308

def to_jsii
  result = {}
  result.merge!({
    "channelEndpointId" => @channel_endpoint_id,
    "channelGroup" => @channel_group,
    "channelId" => @channel_id,
    "channelName" => @channel_name,
    "mediaPackageRegionName" => @media_package_region_name,
  })
  result.compact
end