Class: AWSCDK::MediaLive::CfnChannel::FrameCaptureGroupSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnChannel::FrameCaptureGroupSettingsProperty
- Defined in:
- media_live/cfn_channel.rb
Overview
The settings for a frame capture output group.
The parent of this entity is OutputGroupSettings.
Instance Attribute Summary collapse
-
#destination ⇒ AWSCDK::IResolvable, ...
readonly
The destination for the frame capture files.
-
#frame_capture_cdn_settings ⇒ AWSCDK::IResolvable, ...
readonly
Settings to configure the destination of a Frame Capture output.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(destination: nil, frame_capture_cdn_settings: nil) ⇒ FrameCaptureGroupSettingsProperty
constructor
A new instance of FrameCaptureGroupSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(destination: nil, frame_capture_cdn_settings: nil) ⇒ FrameCaptureGroupSettingsProperty
Returns a new instance of FrameCaptureGroupSettingsProperty.
5826 5827 5828 5829 5830 5831 |
# File 'media_live/cfn_channel.rb', line 5826 def initialize(destination: nil, frame_capture_cdn_settings: nil) @destination = destination.is_a?(Hash) ? ::AWSCDK::MediaLive::CfnChannel::OutputLocationRefProperty.new(**destination.transform_keys(&:to_sym)) : destination Jsii::Type.check_type(@destination, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWxpdmUuQ2ZuQ2hhbm5lbC5PdXRwdXRMb2NhdGlvblJlZlByb3BlcnR5In1dfX0=")), "destination") unless @destination.nil? @frame_capture_cdn_settings = frame_capture_cdn_settings.is_a?(Hash) ? ::AWSCDK::MediaLive::CfnChannel::FrameCaptureCdnSettingsProperty.new(**frame_capture_cdn_settings.transform_keys(&:to_sym)) : frame_capture_cdn_settings Jsii::Type.check_type(@frame_capture_cdn_settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWxpdmUuQ2ZuQ2hhbm5lbC5GcmFtZUNhcHR1cmVDZG5TZXR0aW5nc1Byb3BlcnR5In1dfX0=")), "frameCaptureCdnSettings") unless @frame_capture_cdn_settings.nil? end |
Instance Attribute Details
#destination ⇒ AWSCDK::IResolvable, ... (readonly)
The destination for the frame capture files.
The destination is either the URI for an Amazon S3 bucket and object, plus a file name prefix (for example, s3ssl://sportsDelivery/highlights/20180820/curling_) or the URI for a MediaStore container, plus a file name prefix (for example, mediastoressl://sportsDelivery/20180820/curling_). The final file names consist of the prefix from the destination field (for example, "curling_") + name modifier + the counter (5 digits, starting from 00001) + extension (which is always .jpg). For example, curlingLow.00001.jpg.
5839 5840 5841 |
# File 'media_live/cfn_channel.rb', line 5839 def destination @destination end |
#frame_capture_cdn_settings ⇒ AWSCDK::IResolvable, ... (readonly)
Settings to configure the destination of a Frame Capture output.
5844 5845 5846 |
# File 'media_live/cfn_channel.rb', line 5844 def frame_capture_cdn_settings @frame_capture_cdn_settings end |
Class Method Details
.jsii_properties ⇒ Object
5846 5847 5848 5849 5850 5851 |
# File 'media_live/cfn_channel.rb', line 5846 def self.jsii_properties { :destination => "destination", :frame_capture_cdn_settings => "frameCaptureCdnSettings", } end |
Instance Method Details
#to_jsii ⇒ Object
5853 5854 5855 5856 5857 5858 5859 5860 |
# File 'media_live/cfn_channel.rb', line 5853 def to_jsii result = {} result.merge!({ "destination" => @destination, "frameCaptureCdnSettings" => @frame_capture_cdn_settings, }) result.compact end |