Class: AWSCDK::MediaLive::CfnChannel::ArchiveContainerSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnChannel::ArchiveContainerSettingsProperty
- Defined in:
- media_live/cfn_channel.rb
Overview
The archive container settings.
The parent of this entity is ArchiveOutputSettings.
Instance Attribute Summary collapse
-
#m2_ts_settings ⇒ AWSCDK::IResolvable, ...
readonly
The settings for the M2TS in the archive output.
-
#raw_settings ⇒ AWSCDK::IResolvable, ...
readonly
The settings for Raw archive output type.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(m2_ts_settings: nil, raw_settings: nil) ⇒ ArchiveContainerSettingsProperty
constructor
A new instance of ArchiveContainerSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(m2_ts_settings: nil, raw_settings: nil) ⇒ ArchiveContainerSettingsProperty
Returns a new instance of ArchiveContainerSettingsProperty.
1163 1164 1165 1166 1167 1168 |
# File 'media_live/cfn_channel.rb', line 1163 def initialize(m2_ts_settings: nil, raw_settings: nil) @m2_ts_settings = m2_ts_settings.is_a?(Hash) ? ::AWSCDK::MediaLive::CfnChannel::M2tsSettingsProperty.new(**m2_ts_settings.transform_keys(&:to_sym)) : m2_ts_settings Jsii::Type.check_type(@m2_ts_settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWxpdmUuQ2ZuQ2hhbm5lbC5NMnRzU2V0dGluZ3NQcm9wZXJ0eSJ9XX19")), "m2TsSettings") unless @m2_ts_settings.nil? @raw_settings = raw_settings.is_a?(Hash) ? ::AWSCDK::MediaLive::CfnChannel::RawSettingsProperty.new(**raw_settings.transform_keys(&:to_sym)) : raw_settings Jsii::Type.check_type(@raw_settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWxpdmUuQ2ZuQ2hhbm5lbC5SYXdTZXR0aW5nc1Byb3BlcnR5In1dfX0=")), "rawSettings") unless @raw_settings.nil? end |
Instance Attribute Details
#m2_ts_settings ⇒ AWSCDK::IResolvable, ... (readonly)
The settings for the M2TS in the archive output.
1174 1175 1176 |
# File 'media_live/cfn_channel.rb', line 1174 def m2_ts_settings @m2_ts_settings end |
#raw_settings ⇒ AWSCDK::IResolvable, ... (readonly)
The settings for Raw archive output type.
1179 1180 1181 |
# File 'media_live/cfn_channel.rb', line 1179 def raw_settings @raw_settings end |
Class Method Details
.jsii_properties ⇒ Object
1181 1182 1183 1184 1185 1186 |
# File 'media_live/cfn_channel.rb', line 1181 def self.jsii_properties { :m2_ts_settings => "m2TsSettings", :raw_settings => "rawSettings", } end |
Instance Method Details
#to_jsii ⇒ Object
1188 1189 1190 1191 1192 1193 1194 1195 |
# File 'media_live/cfn_channel.rb', line 1188 def to_jsii result = {} result.merge!({ "m2TsSettings" => @m2_ts_settings, "rawSettings" => @raw_settings, }) result.compact end |