Class: AWSCDK::MediaLive::CfnChannel::ArchiveOutputSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnChannel::ArchiveOutputSettingsProperty
- Defined in:
- media_live/cfn_channel.rb
Overview
The archive output settings.
The parent of this entity is OutputSettings.
Instance Attribute Summary collapse
-
#container_settings ⇒ AWSCDK::IResolvable, ...
readonly
The settings that are specific to the container type of the file.
-
#extension ⇒ String?
readonly
The output file extension.
-
#name_modifier ⇒ String?
readonly
A string that is concatenated to the end of the destination file name.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(container_settings: nil, extension: nil, name_modifier: nil) ⇒ ArchiveOutputSettingsProperty
constructor
A new instance of ArchiveOutputSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(container_settings: nil, extension: nil, name_modifier: nil) ⇒ ArchiveOutputSettingsProperty
Returns a new instance of ArchiveOutputSettingsProperty.
1264 1265 1266 1267 1268 1269 1270 1271 |
# File 'media_live/cfn_channel.rb', line 1264 def initialize(container_settings: nil, extension: nil, name_modifier: nil) @container_settings = container_settings.is_a?(Hash) ? ::AWSCDK::MediaLive::CfnChannel::ArchiveContainerSettingsProperty.new(**container_settings.transform_keys(&:to_sym)) : container_settings Jsii::Type.check_type(@container_settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWxpdmUuQ2ZuQ2hhbm5lbC5BcmNoaXZlQ29udGFpbmVyU2V0dGluZ3NQcm9wZXJ0eSJ9XX19")), "containerSettings") unless @container_settings.nil? @extension = extension Jsii::Type.check_type(@extension, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "extension") unless @extension.nil? @name_modifier = name_modifier Jsii::Type.check_type(@name_modifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "nameModifier") unless @name_modifier.nil? end |
Instance Attribute Details
#container_settings ⇒ AWSCDK::IResolvable, ... (readonly)
The settings that are specific to the container type of the file.
1277 1278 1279 |
# File 'media_live/cfn_channel.rb', line 1277 def container_settings @container_settings end |
#extension ⇒ String? (readonly)
The output file extension.
If excluded, this is auto-selected from the container type.
1284 1285 1286 |
# File 'media_live/cfn_channel.rb', line 1284 def extension @extension end |
#name_modifier ⇒ String? (readonly)
A string that is concatenated to the end of the destination file name.
The string is required for multiple outputs of the same type.
1291 1292 1293 |
# File 'media_live/cfn_channel.rb', line 1291 def name_modifier @name_modifier end |
Class Method Details
.jsii_properties ⇒ Object
1293 1294 1295 1296 1297 1298 1299 |
# File 'media_live/cfn_channel.rb', line 1293 def self.jsii_properties { :container_settings => "containerSettings", :extension => "extension", :name_modifier => "nameModifier", } end |
Instance Method Details
#to_jsii ⇒ Object
1301 1302 1303 1304 1305 1306 1307 1308 1309 |
# File 'media_live/cfn_channel.rb', line 1301 def to_jsii result = {} result.merge!({ "containerSettings" => @container_settings, "extension" => @extension, "nameModifier" => @name_modifier, }) result.compact end |