Class: AWSCDK::MediaPackagev2::CfnOriginEndpoint::FilterConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaPackagev2::CfnOriginEndpoint::FilterConfigurationProperty
- Defined in:
- media_packagev2/cfn_origin_endpoint.rb
Overview
Filter configuration includes settings for manifest filtering, start and end times, and time delay that apply to all of your egress requests for this manifest.
Instance Attribute Summary collapse
-
#_end ⇒ String?
readonly
Optionally specify the end time for all of your manifest egress requests.
-
#clip_start_time ⇒ String?
readonly
Optionally specify the clip start time for all of your manifest egress requests.
-
#drm_settings ⇒ String?
readonly
Optionally specify one or more DRM settings for all of your manifest egress requests.
-
#manifest_filter ⇒ String?
readonly
Optionally specify one or more manifest filters for all of your manifest egress requests.
-
#start ⇒ String?
readonly
Optionally specify the start time for all of your manifest egress requests.
-
#time_delay_seconds ⇒ Numeric?
readonly
Optionally specify the time delay for all of your manifest egress requests.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(clip_start_time: nil, drm_settings: nil, _end: nil, manifest_filter: nil, start: nil, time_delay_seconds: nil) ⇒ FilterConfigurationProperty
constructor
A new instance of FilterConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(clip_start_time: nil, drm_settings: nil, _end: nil, manifest_filter: nil, start: nil, time_delay_seconds: nil) ⇒ FilterConfigurationProperty
Returns a new instance of FilterConfigurationProperty.
1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 |
# File 'media_packagev2/cfn_origin_endpoint.rb', line 1610 def initialize(clip_start_time: nil, drm_settings: nil, _end: nil, manifest_filter: nil, start: nil, time_delay_seconds: nil) @clip_start_time = clip_start_time Jsii::Type.check_type(@clip_start_time, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "clipStartTime") unless @clip_start_time.nil? @drm_settings = drm_settings Jsii::Type.check_type(@drm_settings, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "drmSettings") unless @drm_settings.nil? @_end = _end Jsii::Type.check_type(@_end, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "end") unless @_end.nil? @manifest_filter = manifest_filter Jsii::Type.check_type(@manifest_filter, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "manifestFilter") unless @manifest_filter.nil? @start = start Jsii::Type.check_type(@start, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "start") unless @start.nil? @time_delay_seconds = time_delay_seconds Jsii::Type.check_type(@time_delay_seconds, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "timeDelaySeconds") unless @time_delay_seconds.nil? end |
Instance Attribute Details
#_end ⇒ String? (readonly)
Optionally specify the end time for all of your manifest egress requests.
When you include end time, note that you cannot use end time query parameters for this manifest's endpoint URL.
1645 1646 1647 |
# File 'media_packagev2/cfn_origin_endpoint.rb', line 1645 def _end @_end end |
#clip_start_time ⇒ String? (readonly)
Optionally specify the clip start time for all of your manifest egress requests.
When you include clip start time, note that you cannot use clip start time query parameters for this manifest's endpoint URL.
1631 1632 1633 |
# File 'media_packagev2/cfn_origin_endpoint.rb', line 1631 def clip_start_time @clip_start_time end |
#drm_settings ⇒ String? (readonly)
Optionally specify one or more DRM settings for all of your manifest egress requests. When you include a DRM setting, note that you cannot use an identical DRM setting query parameter for this manifest's endpoint URL.
1638 1639 1640 |
# File 'media_packagev2/cfn_origin_endpoint.rb', line 1638 def drm_settings @drm_settings end |
#manifest_filter ⇒ String? (readonly)
Optionally specify one or more manifest filters for all of your manifest egress requests.
When you include a manifest filter, note that you cannot use an identical manifest filter query parameter for this manifest's endpoint URL.
1652 1653 1654 |
# File 'media_packagev2/cfn_origin_endpoint.rb', line 1652 def manifest_filter @manifest_filter end |
#start ⇒ String? (readonly)
Optionally specify the start time for all of your manifest egress requests.
When you include start time, note that you cannot use start time query parameters for this manifest's endpoint URL.
1659 1660 1661 |
# File 'media_packagev2/cfn_origin_endpoint.rb', line 1659 def start @start end |
#time_delay_seconds ⇒ Numeric? (readonly)
Optionally specify the time delay for all of your manifest egress requests.
Enter a value that is smaller than your endpoint's startover window. When you include time delay, note that you cannot use time delay query parameters for this manifest's endpoint URL.
1666 1667 1668 |
# File 'media_packagev2/cfn_origin_endpoint.rb', line 1666 def time_delay_seconds @time_delay_seconds end |
Class Method Details
.jsii_properties ⇒ Object
1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 |
# File 'media_packagev2/cfn_origin_endpoint.rb', line 1668 def self.jsii_properties { :clip_start_time => "clipStartTime", :drm_settings => "drmSettings", :_end => "end", :manifest_filter => "manifestFilter", :start => "start", :time_delay_seconds => "timeDelaySeconds", } end |
Instance Method Details
#to_jsii ⇒ Object
1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 |
# File 'media_packagev2/cfn_origin_endpoint.rb', line 1679 def to_jsii result = {} result.merge!({ "clipStartTime" => @clip_start_time, "drmSettings" => @drm_settings, "end" => @_end, "manifestFilter" => @manifest_filter, "start" => @start, "timeDelaySeconds" => @time_delay_seconds, }) result.compact end |