import { Value } from '../../../cloudformation/Value';
import { StreamSelectionProps } from './StreamSelectionProps';
import { HlsEncryptionProps } from './HlsEncryptionProps';
/**
  Parameters for Apple HLS packaging.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlspackage.html">the AWS Docs</a>
*/
export interface HlsPackageProps {
    /** <code>AdsOnDeliveryRestrictions</code>  <a name="cfn-mediapackage-originendpoint-hlspackage-adsondeliveryrestrictions"></a>
  The flags on SCTE-35 segmentation descriptors that have to be present for AWS Elemental MediaPackage to insert ad markers in the output manifest. For information about SCTE-35 in AWS Elemental MediaPackage, see <a href="https://docs.aws.amazon.com/mediapackage/latest/ug/scte.html">SCTE-35 Message Options in AWS Elemental MediaPackage</a>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    adsOnDeliveryRestrictions?: Value<string>;
    /** <p> */
    adMarkers?: Value<string>;
    /** <code>ProgramDateTimeIntervalSeconds</code>  <a name="cfn-mediapackage-originendpoint-hlspackage-programdatetimeintervalseconds"></a>
  Inserts <code>EXT-X-PROGRAM-DATE-TIME</code> tags in the output manifest at the interval that you specify. Additionally, ID3Timed metadata messages are generated every 5 seconds starting when the content was ingested.<br />
  Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output.<br />
  Omit this attribute or enter <code>0</code> to indicate that the <code>EXT-X-PROGRAM-DATE-TIME</code> tags are not included in the manifest.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    programDateTimeIntervalSeconds?: Value<number>;
    /** <code>StreamSelection</code>  <a name="cfn-mediapackage-originendpoint-hlspackage-streamselection"></a>
  Limitations for outputs from the endpoint, based on the video bitrate.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    streamSelection?: StreamSelectionProps;
    /** <code>PlaylistWindowSeconds</code>  <a name="cfn-mediapackage-originendpoint-hlspackage-playlistwindowseconds"></a>
  Time window (in seconds) contained in each parent manifest.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    playlistWindowSeconds?: Value<number>;
    /** <code>IncludeIframeOnlyStream</code>  <a name="cfn-mediapackage-originendpoint-hlspackage-includeiframeonlystream"></a>
  Only applies to stream sets with a single video track. When true, the stream set includes an additional I-frame only stream, along with the other tracks. If false, this extra stream is not included.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    includeIframeOnlyStream?: Value<boolean>;
    /** <code>UseAudioRenditionGroup</code>  <a name="cfn-mediapackage-originendpoint-hlspackage-useaudiorenditiongroup"></a>
  When true, AWS Elemental MediaPackage bundles all audio tracks in a rendition group. All other tracks in the stream can be used with any audio rendition from the group.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    useAudioRenditionGroup?: Value<boolean>;
    /** <code>SegmentDurationSeconds</code>  <a name="cfn-mediapackage-originendpoint-hlspackage-segmentdurationseconds"></a>
  Duration (in seconds) of each fragment. Actual fragments are rounded to the nearest multiple of the source fragment duration.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    segmentDurationSeconds?: Value<number>;
    /** <code>Encryption</code>  <a name="cfn-mediapackage-originendpoint-hlspackage-encryption"></a>
  Parameters for encrypting content.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    encryption?: HlsEncryptionProps;
    /** <code>PlaylistType</code>  <a name="cfn-mediapackage-originendpoint-hlspackage-playlisttype"></a>
  When specified as either <code>event</code> or <code>vod</code>, a corresponding <code>EXT-X-PLAYLIST-TYPE</code> entry is included in the media playlist. Indicates if the playlist is live-to-VOD content.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    playlistType?: Value<string>;
    /** <p> */
    adTriggers?: Value<Value<string>[]>;
    /** <code>IncludeDvbSubtitles</code>  <a name="cfn-mediapackage-originendpoint-hlspackage-includedvbsubtitles"></a>
  When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    includeDvbSubtitles?: Value<boolean>;
}
