Class: AWSCDK::MediaTailor::CfnChannel::SlateSourceProperty

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

Overview

Slate VOD source configuration.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(source_location_name: nil, vod_source_name: nil) ⇒ SlateSourceProperty

Returns a new instance of SlateSourceProperty.

Parameters:

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

    The name of the source location where the slate VOD source is stored.

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

    The slate VOD source name.



869
870
871
872
873
874
# File 'media_tailor/cfn_channel.rb', line 869

def initialize(source_location_name: nil, vod_source_name: nil)
  @source_location_name = source_location_name
  Jsii::Type.check_type(@source_location_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sourceLocationName") unless @source_location_name.nil?
  @vod_source_name = vod_source_name
  Jsii::Type.check_type(@vod_source_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "vodSourceName") unless @vod_source_name.nil?
end

Instance Attribute Details

#source_location_nameString? (readonly)

The name of the source location where the slate VOD source is stored.



880
881
882
# File 'media_tailor/cfn_channel.rb', line 880

def source_location_name
  @source_location_name
end

#vod_source_nameString? (readonly)

The slate VOD source name.

The VOD source must already exist in a source location before it can be used for slate.



887
888
889
# File 'media_tailor/cfn_channel.rb', line 887

def vod_source_name
  @vod_source_name
end

Class Method Details

.jsii_propertiesObject



889
890
891
892
893
894
# File 'media_tailor/cfn_channel.rb', line 889

def self.jsii_properties
  {
    :source_location_name => "sourceLocationName",
    :vod_source_name => "vodSourceName",
  }
end

Instance Method Details

#to_jsiiObject



896
897
898
899
900
901
902
903
# File 'media_tailor/cfn_channel.rb', line 896

def to_jsii
  result = {}
  result.merge!({
    "sourceLocationName" => @source_location_name,
    "vodSourceName" => @vod_source_name,
  })
  result.compact
end