You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::MediaPackage::Types::CmafPackageCreateOrUpdateParameters
- Inherits:
-
Struct
- Object
- Struct
- Aws::MediaPackage::Types::CmafPackageCreateOrUpdateParameters
- Defined in:
- (unknown)
Overview
When passing CmafPackageCreateOrUpdateParameters as input to an Aws::Client method, you can use a vanilla Hash:
{
encryption: {
key_rotation_interval_seconds: 1,
speke_key_provider: { # required
certificate_arn: "__string",
resource_id: "__string", # required
role_arn: "__string", # required
system_ids: ["__string"], # required
url: "__string", # required
},
},
hls_manifests: [
{
ad_markers: "NONE", # accepts NONE, SCTE35_ENHANCED, PASSTHROUGH, DATERANGE
ad_triggers: ["SPLICE_INSERT"], # accepts SPLICE_INSERT, BREAK, PROVIDER_ADVERTISEMENT, DISTRIBUTOR_ADVERTISEMENT, PROVIDER_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_PLACEMENT_OPPORTUNITY, PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY
ads_on_delivery_restrictions: "NONE", # accepts NONE, RESTRICTED, UNRESTRICTED, BOTH
id: "__string", # required
include_iframe_only_stream: false,
manifest_name: "__string",
playlist_type: "NONE", # accepts NONE, EVENT, VOD
playlist_window_seconds: 1,
program_date_time_interval_seconds: 1,
},
],
segment_duration_seconds: 1,
segment_prefix: "__string",
stream_selection: {
max_video_bits_per_second: 1,
min_video_bits_per_second: 1,
stream_order: "ORIGINAL", # accepts ORIGINAL, VIDEO_BITRATE_ASCENDING, VIDEO_BITRATE_DESCENDING
},
}
A Common Media Application Format (CMAF) packaging configuration.
Returned by:
Instance Attribute Summary collapse
-
#encryption ⇒ Types::CmafEncryption
A Common Media Application Format (CMAF) encryption configuration.
-
#hls_manifests ⇒ Array<Types::HlsManifestCreateOrUpdateParameters>
A list of HLS manifest configurations.
-
#segment_duration_seconds ⇒ Integer
Duration (in seconds) of each segment.
-
#segment_prefix ⇒ String
An optional custom string that is prepended to the name of each segment.
-
#stream_selection ⇒ Types::StreamSelection
A StreamSelection configuration.
Instance Attribute Details
#encryption ⇒ Types::CmafEncryption
A Common Media Application Format (CMAF) encryption configuration.
#hls_manifests ⇒ Array<Types::HlsManifestCreateOrUpdateParameters>
A list of HLS manifest configurations
#segment_duration_seconds ⇒ Integer
Duration (in seconds) of each segment. Actual segments will be rounded to the nearest multiple of the source segment duration.
#segment_prefix ⇒ String
An optional custom string that is prepended to the name of each segment. If not specified, it defaults to the ChannelId.
#stream_selection ⇒ Types::StreamSelection
A StreamSelection configuration.