Class: AWSCDK::MediaConnect::CfnFlow::MediaStreamSourceConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
media_connect/cfn_flow.rb

Overview

The media stream that is associated with the source, and the parameters for that association.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(encoding_name:, media_stream_name:, input_configurations: nil) ⇒ MediaStreamSourceConfigurationProperty

Returns a new instance of MediaStreamSourceConfigurationProperty.

Parameters:



1590
1591
1592
1593
1594
1595
1596
1597
# File 'media_connect/cfn_flow.rb', line 1590

def initialize(encoding_name:, media_stream_name:, input_configurations: nil)
  @encoding_name = encoding_name
  Jsii::Type.check_type(@encoding_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "encodingName")
  @media_stream_name = media_stream_name
  Jsii::Type.check_type(@media_stream_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "mediaStreamName")
  @input_configurations = input_configurations
  Jsii::Type.check_type(@input_configurations, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfbWVkaWFjb25uZWN0LkNmbkZsb3cuSW5wdXRDb25maWd1cmF0aW9uUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "inputConfigurations") unless @input_configurations.nil?
end

Instance Attribute Details

#encoding_nameString (readonly)

The format that was used to encode the data.

For ancillary data streams, set the encoding name to smpte291. For audio streams, set the encoding name to pcm. For video, 2110 streams, set the encoding name to raw. For video, JPEG XS streams, set the encoding name to jxsv.



1605
1606
1607
# File 'media_connect/cfn_flow.rb', line 1605

def encoding_name
  @encoding_name
end

#input_configurationsAWSCDK::IResolvable, ... (readonly)

The media streams that you want to associate with the source.



1615
1616
1617
# File 'media_connect/cfn_flow.rb', line 1615

def input_configurations
  @input_configurations
end

#media_stream_nameString (readonly)

A name that helps you distinguish one media stream from another.



1610
1611
1612
# File 'media_connect/cfn_flow.rb', line 1610

def media_stream_name
  @media_stream_name
end

Class Method Details

.jsii_propertiesObject



1617
1618
1619
1620
1621
1622
1623
# File 'media_connect/cfn_flow.rb', line 1617

def self.jsii_properties
  {
    :encoding_name => "encodingName",
    :media_stream_name => "mediaStreamName",
    :input_configurations => "inputConfigurations",
  }
end

Instance Method Details

#to_jsiiObject



1625
1626
1627
1628
1629
1630
1631
1632
1633
# File 'media_connect/cfn_flow.rb', line 1625

def to_jsii
  result = {}
  result.merge!({
    "encodingName" => @encoding_name,
    "mediaStreamName" => @media_stream_name,
    "inputConfigurations" => @input_configurations,
  })
  result.compact
end