SegmentPropsBase

class aws_cdk.aws_mediapackagev2_alpha.SegmentPropsBase(*, duration=None, include_iframe_only_streams=None, name=None)

Bases: object

(experimental) Base properties common to all segment configurations.

Parameters:
  • duration (Optional[Duration]) – (experimental) Duration of each segment. Default: Duration.seconds(6)

  • include_iframe_only_streams (Optional[bool]) – (experimental) Whether to include I-frame-only streams. Default: false

  • name (Optional[str]) – (experimental) Name of the segment. Default: ‘segment’

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_mediapackagev2_alpha as mediapackagev2_alpha
import aws_cdk as cdk

segment_props_base = mediapackagev2_alpha.SegmentPropsBase(
    duration=cdk.Duration.minutes(30),
    include_iframe_only_streams=False,
    name="name"
)

Attributes

duration

(experimental) Duration of each segment.

Default:

Duration.seconds(6)

Stability:

experimental

include_iframe_only_streams

(experimental) Whether to include I-frame-only streams.

Default:

false

Stability:

experimental

name

(experimental) Name of the segment.

Default:

‘segment’

Stability:

experimental