Skip to content
v2.275.0

Experimental

@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

M3u8Scte35Behavior Class ​

SCTE-35 passthrough behavior for an M3U8 container.

Example ​

ts
declare const bucket: s3.IBucket;
declare const video: medialive.EncodeConfiguration;
declare const audio: medialive.EncodeConfiguration;

medialive.OutputGroupConfiguration.hls({
  name: 'hls',
  destinations: [medialive.OutputDestination.toBucket(bucket, 'live/stream')],
  outputs: [
    {
      encodes: [video],
      outputName: 'video',
      hlsSettings: medialive.HlsSettings.standard({
        m3u8Settings: medialive.M3u8Settings.of({
          scte35Behavior: medialive.M3u8Scte35Behavior.PASSTHROUGH,
          programNum: 1,
        }),
      }),
    },
    {
      encodes: [audio],
      outputName: 'audio',
      hlsSettings: medialive.HlsSettings.audioOnly({
        audioGroupId: 'program',
        audioOnlyImage: medialive.FileLocation.fromBucket(bucket, 'art/cover.png'),
      }),
    },
  ],
});

Properties ​

NO_PASSTHROUGHM3u8Scte35Behaviorno_passthroughM3u8Scte35BehaviorNO_PASSTHROUGHM3u8Scte35BehaviorNO_PASSTHROUGHM3u8Scte35BehaviorNO_PASSTHROUGHM3u8Scte35Behaviorstatic#
Do not pass SCTE-35 signals through.
PASSTHROUGHM3u8Scte35BehaviorpassthroughM3u8Scte35BehaviorPASSTHROUGHM3u8Scte35BehaviorPASSTHROUGHM3u8Scte35BehaviorPASSTHROUGHM3u8Scte35Behaviorstatic#
Pass SCTE-35 signals from the input through to the output.
valuestringvaluestrvalueStringValuestringValue*string#
The underlying string value passed to CloudFormation.

Methods ​

of(value: string): M3u8Scte35Behavior // chainable@staticmethod def of(value: str) -> M3u8Scte35Behaviorpublic static M3u8Scte35Behavior of(String value)public static M3u8Scte35Behavior Of(string value)func Of(Value *string) M3u8Scte35Behaviorstatic#
A value not yet modelled by AWS CDK.