Class: AWSCDK::MediaTailor::CfnChannel::SlateSourceProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaTailor::CfnChannel::SlateSourceProperty
- Defined in:
- media_tailor/cfn_channel.rb
Overview
Slate VOD source configuration.
Instance Attribute Summary collapse
-
#source_location_name ⇒ String?
readonly
The name of the source location where the slate VOD source is stored.
-
#vod_source_name ⇒ String?
readonly
The slate VOD source name.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(source_location_name: nil, vod_source_name: nil) ⇒ SlateSourceProperty
constructor
A new instance of SlateSourceProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(source_location_name: nil, vod_source_name: nil) ⇒ SlateSourceProperty
Returns a new instance of SlateSourceProperty.
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_name ⇒ String? (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_name ⇒ String? (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_properties ⇒ Object
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_jsii ⇒ Object
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 |