Class: AWSCDK::MediaLive::CfnChannel::InferenceSettingsProperty

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

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(audio_feed_inputs: nil, feed_arn: nil) ⇒ InferenceSettingsProperty

Returns a new instance of InferenceSettingsProperty.

Parameters:



8516
8517
8518
8519
8520
8521
# File 'media_live/cfn_channel.rb', line 8516

def initialize(audio_feed_inputs: nil, feed_arn: nil)
  @audio_feed_inputs = audio_feed_inputs
  Jsii::Type.check_type(@audio_feed_inputs, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfbWVkaWFsaXZlLkNmbkNoYW5uZWwuQXVkaW9GZWVkSW5wdXRQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "audioFeedInputs") unless @audio_feed_inputs.nil?
  @feed_arn = feed_arn
  Jsii::Type.check_type(@feed_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "feedArn") unless @feed_arn.nil?
end

Instance Attribute Details

#feed_arnString? (readonly)



8528
8529
8530
# File 'media_live/cfn_channel.rb', line 8528

def feed_arn
  @feed_arn
end

Class Method Details

.jsii_propertiesObject



8530
8531
8532
8533
8534
8535
# File 'media_live/cfn_channel.rb', line 8530

def self.jsii_properties
  {
    :audio_feed_inputs => "audioFeedInputs",
    :feed_arn => "feedArn",
  }
end

Instance Method Details

#to_jsiiObject



8537
8538
8539
8540
8541
8542
8543
8544
# File 'media_live/cfn_channel.rb', line 8537

def to_jsii
  result = {}
  result.merge!({
    "audioFeedInputs" => @audio_feed_inputs,
    "feedArn" => @feed_arn,
  })
  result.compact
end