Experimental
@aws-cdk/aws-mediapackagev2-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
SegmentPropsBase Struct
Base properties common to all segment configurations.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as mediapackagev2_alpha from '@aws-cdk/aws-mediapackagev2-alpha';
import * as cdk from 'aws-cdk-lib';
const segmentPropsBase: mediapackagev2_alpha.SegmentPropsBase = {
duration: cdk.Duration.minutes(30),
includeIframeOnlyStreams: false,
name: 'name',
};
Properties
durationDurationdurationDurationdurationDurationDurationDurationDurationDuration= Duration.seconds(6)#Duration of each segment.
includeIframeOnlyStreamsbooleaninclude_iframe_only_streamsboolincludeIframeOnlyStreamsBooleanIncludeIframeOnlyStreamsboolIncludeIframeOnlyStreams*bool= false#Whether to include I-frame-only streams.
Name of the segment.