package awsmediapackage // Parameters for DASH packaging. // // Example: // // The code below shows an example of how to instantiate this type. // // The values are placeholders you should change. // import "github.com/aws/aws-cdk-go/awscdk" // // dashPackageProperty := &DashPackageProperty{ // AdsOnDeliveryRestrictions: jsii.String("adsOnDeliveryRestrictions"), // AdTriggers: []*string{ // jsii.String("adTriggers"), // }, // Encryption: &DashEncryptionProperty{ // SpekeKeyProvider: &SpekeKeyProviderProperty{ // ResourceId: jsii.String("resourceId"), // RoleArn: jsii.String("roleArn"), // SystemIds: []*string{ // jsii.String("systemIds"), // }, // Url: jsii.String("url"), // // // the properties below are optional // CertificateArn: jsii.String("certificateArn"), // EncryptionContractConfiguration: &EncryptionContractConfigurationProperty{ // PresetSpeke20Audio: jsii.String("presetSpeke20Audio"), // PresetSpeke20Video: jsii.String("presetSpeke20Video"), // }, // }, // // // the properties below are optional // KeyRotationIntervalSeconds: jsii.Number(123), // }, // IncludeIframeOnlyStream: jsii.Boolean(false), // ManifestLayout: jsii.String("manifestLayout"), // ManifestWindowSeconds: jsii.Number(123), // MinBufferTimeSeconds: jsii.Number(123), // MinUpdatePeriodSeconds: jsii.Number(123), // PeriodTriggers: []*string{ // jsii.String("periodTriggers"), // }, // Profile: jsii.String("profile"), // SegmentDurationSeconds: jsii.Number(123), // SegmentTemplateFormat: jsii.String("segmentTemplateFormat"), // StreamSelection: &StreamSelectionProperty{ // MaxVideoBitsPerSecond: jsii.Number(123), // MinVideoBitsPerSecond: jsii.Number(123), // StreamOrder: jsii.String("streamOrder"), // }, // SuggestedPresentationDelaySeconds: jsii.Number(123), // UtcTiming: jsii.String("utcTiming"), // UtcTimingUri: jsii.String("utcTimingUri"), // } // // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html // type CfnOriginEndpoint_DashPackageProperty struct { // 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 [SCTE-35 Message Options in AWS Elemental MediaPackage](https://docs.aws.amazon.com/mediapackage/latest/ug/scte.html) . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-adsondeliveryrestrictions // AdsOnDeliveryRestrictions *string `field:"optional" json:"adsOnDeliveryRestrictions" yaml:"adsOnDeliveryRestrictions"` // Specifies the SCTE-35 message types that AWS Elemental MediaPackage treats as ad markers in the output manifest. // // Valid values: // // - `BREAK` // - `DISTRIBUTOR_ADVERTISEMENT` // - `DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY` . // - `DISTRIBUTOR_PLACEMENT_OPPORTUNITY` . // - `PROVIDER_ADVERTISEMENT` . // - `PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY` . // - `PROVIDER_PLACEMENT_OPPORTUNITY` . // - `SPLICE_INSERT` . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-adtriggers // AdTriggers *[]*string `field:"optional" json:"adTriggers" yaml:"adTriggers"` // Parameters for encrypting content. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-encryption // Encryption interface{} `field:"optional" json:"encryption" yaml:"encryption"` // This applies only to stream sets with a single video track. // // When true, the stream set includes an additional I-frame trick-play only stream, along with the other tracks. If false, this extra stream is not included. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-includeiframeonlystream // IncludeIframeOnlyStream interface{} `field:"optional" json:"includeIframeOnlyStream" yaml:"includeIframeOnlyStream"` // Determines the position of some tags in the manifest. // // Valid values: // // - `FULL` - Elements like `SegmentTemplate` and `ContentProtection` are included in each `Representation` . // - `COMPACT` - Duplicate elements are combined and presented at the `AdaptationSet` level. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-manifestlayout // ManifestLayout *string `field:"optional" json:"manifestLayout" yaml:"manifestLayout"` // Time window (in seconds) contained in each manifest. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-manifestwindowseconds // ManifestWindowSeconds *float64 `field:"optional" json:"manifestWindowSeconds" yaml:"manifestWindowSeconds"` // Minimum amount of content (measured in seconds) that a player must keep available in the buffer. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-minbuffertimeseconds // MinBufferTimeSeconds *float64 `field:"optional" json:"minBufferTimeSeconds" yaml:"minBufferTimeSeconds"` // Minimum amount of time (in seconds) that the player should wait before requesting updates to the manifest. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-minupdateperiodseconds // MinUpdatePeriodSeconds *float64 `field:"optional" json:"minUpdatePeriodSeconds" yaml:"minUpdatePeriodSeconds"` // Controls whether AWS Elemental MediaPackage produces single-period or multi-period DASH manifests. // // For more information about periods, see [Multi-period DASH in AWS Elemental MediaPackage](https://docs.aws.amazon.com/mediapackage/latest/ug/multi-period.html) . // // Valid values: // // - `ADS` - AWS Elemental MediaPackage will produce multi-period DASH manifests. Periods are created based on the SCTE-35 ad markers present in the input manifest. // - *No value* - AWS Elemental MediaPackage will produce single-period DASH manifests. This is the default setting. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-periodtriggers // PeriodTriggers *[]*string `field:"optional" json:"periodTriggers" yaml:"periodTriggers"` // The DASH profile for the output. // // Valid values: // // - `NONE` - The output doesn't use a DASH profile. // - `HBBTV_1_5` - The output is compliant with HbbTV v1.5. // - `DVB_DASH_2014` - The output is compliant with DVB-DASH 2014. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-profile // Profile *string `field:"optional" json:"profile" yaml:"profile"` // Duration (in seconds) of each fragment. // // Actual fragments are rounded to the nearest multiple of the source fragment duration. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-segmentdurationseconds // SegmentDurationSeconds *float64 `field:"optional" json:"segmentDurationSeconds" yaml:"segmentDurationSeconds"` // Determines the type of variable used in the `media` URL of the `SegmentTemplate` tag in the manifest. // // Also specifies if segment timeline information is included in `SegmentTimeline` or `SegmentTemplate` . // // Valid values: // // - `NUMBER_WITH_TIMELINE` - The `$Number$` variable is used in the `media` URL. The value of this variable is the sequential number of the segment. A full `SegmentTimeline` object is presented in each `SegmentTemplate` . // - `NUMBER_WITH_DURATION` - The `$Number$` variable is used in the `media` URL and a `duration` attribute is added to the segment template. The `SegmentTimeline` object is removed from the representation. // - `TIME_WITH_TIMELINE` - The `$Time$` variable is used in the `media` URL. The value of this variable is the timestamp of when the segment starts. A full `SegmentTimeline` object is presented in each `SegmentTemplate` . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-segmenttemplateformat // SegmentTemplateFormat *string `field:"optional" json:"segmentTemplateFormat" yaml:"segmentTemplateFormat"` // Limitations for outputs from the endpoint, based on the video bitrate. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-streamselection // StreamSelection interface{} `field:"optional" json:"streamSelection" yaml:"streamSelection"` // Amount of time (in seconds) that the player should be from the live point at the end of the manifest. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-suggestedpresentationdelayseconds // SuggestedPresentationDelaySeconds *float64 `field:"optional" json:"suggestedPresentationDelaySeconds" yaml:"suggestedPresentationDelaySeconds"` // Determines the type of UTC timing included in the DASH Media Presentation Description (MPD). // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-utctiming // UtcTiming *string `field:"optional" json:"utcTiming" yaml:"utcTiming"` // Specifies the value attribute of the UTC timing field when utcTiming is set to HTTP-ISO or HTTP-HEAD. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-utctiminguri // UtcTimingUri *string `field:"optional" json:"utcTimingUri" yaml:"utcTimingUri"` }